bugfix from w3seek : bug 1474 : NTMARTA: GetExplicitEntriesFromAcl should return valid information for NULL-ACLs

svn path=/trunk/; revision=22507
This commit is contained in:
Magnus Olsen
2006-06-22 20:34:23 +00:00
parent 1e42e69d3d
commit ec48d01285
+7 -2
View File
@@ -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);