Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ccfa9ad8
Commit
ccfa9ad8
authored
Jul 18, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Jul 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Set the right pointer so that StringAcl is updated correct in ParseAceStringRights.
The number of allowed hex digits should be 8, not 6.
parent
6c24386e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
security.c
dlls/advapi32/security.c
+2
-2
No files found.
dlls/advapi32/security.c
View file @
ccfa9ad8
...
...
@@ -3125,10 +3125,10 @@ static DWORD ParseAceStringRights(LPCWSTR* StringAcl)
while
(
*
p
&&
*
p
!=
';'
)
p
++
;
if
(
p
-
szAcl
<=
8
)
if
(
p
-
szAcl
<=
10
/* 8 hex digits + "0x" */
)
{
rights
=
strtoulW
(
szAcl
,
NULL
,
16
);
*
String
Acl
=
p
;
sz
Acl
=
p
;
}
else
WARN
(
"Invalid rights string format: %s
\n
"
,
debugstr_wn
(
szAcl
,
p
-
szAcl
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment