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
06b2da95
Commit
06b2da95
authored
Oct 23, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix RtlValidAcl to accept newer ACL revisions.
parent
866ec270
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
security.c
dlls/advapi32/tests/security.c
+0
-2
sec.c
dlls/ntdll/sec.c
+2
-1
No files found.
dlls/advapi32/tests/security.c
View file @
06b2da95
...
...
@@ -2300,14 +2300,12 @@ static void test_acls(void)
ok
(
ret
,
"InitializeAcl(ACL_REVISION3) failed with error %d
\n
"
,
GetLastError
());
ret
=
IsValidAcl
(
pAcl
);
todo_wine
ok
(
ret
,
"IsValidAcl failed with error %d
\n
"
,
GetLastError
());
ret
=
InitializeAcl
(
pAcl
,
sizeof
(
buffer
),
ACL_REVISION4
);
ok
(
ret
,
"InitializeAcl(ACL_REVISION4) failed with error %d
\n
"
,
GetLastError
());
ret
=
IsValidAcl
(
pAcl
);
todo_wine
ok
(
ret
,
"IsValidAcl failed with error %d
\n
"
,
GetLastError
());
SetLastError
(
0xdeadbeef
);
...
...
dlls/ntdll/sec.c
View file @
06b2da95
...
...
@@ -1278,7 +1278,8 @@ BOOLEAN WINAPI RtlValidAcl(PACL pAcl)
PACE_HEADER
ace
;
int
i
;
if
(
pAcl
->
AclRevision
!=
ACL_REVISION
)
if
(
pAcl
->
AclRevision
<
MIN_ACL_REVISION
||
pAcl
->
AclRevision
>
MAX_ACL_REVISION
)
ret
=
FALSE
;
else
{
...
...
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