mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
bugfix from w3seek : bug 1474 : NTMARTA: GetExplicitEntriesFromAcl should return valid information for NULL-ACLs
svn path=/trunk/; revision=22507
This commit is contained in:
@@ -1154,10 +1154,15 @@ AccRewriteGetExplicitEntriesFromAcl(PACL pacl,
|
||||
}
|
||||
else
|
||||
{
|
||||
*pcCountOfExplicitEntries = 0;
|
||||
*pListOfExplicitEntries = NULL;
|
||||
goto EmptyACL;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
EmptyACL:
|
||||
*pcCountOfExplicitEntries = 0;
|
||||
*pListOfExplicitEntries = NULL;
|
||||
}
|
||||
|
||||
/* restore the last error code */
|
||||
SetLastError(LastErr);
|
||||
|
||||
Reference in New Issue
Block a user