mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 23:23:38 +00:00
ntdll: RtlFirstFreeAce only return FALSE on error.
This commit is contained in:
parent
0cbfd7ab4c
commit
0cc26c1218
|
@ -1149,9 +1149,8 @@ BOOLEAN WINAPI RtlFirstFreeAce(
|
|||
return FALSE;
|
||||
ace = (PACE_HEADER)(((BYTE*)ace)+ace->AceSize);
|
||||
}
|
||||
if ((BYTE *)ace >= (BYTE *)acl + acl->AclSize)
|
||||
return FALSE;
|
||||
*x = ace;
|
||||
if ((BYTE *)ace <= (BYTE *)acl + acl->AclSize)
|
||||
*x = ace;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue