SystemName == NULL is valid for LsaOpenPolicy

svn path=/trunk/; revision=39257
This commit is contained in:
Christoph von Wittich 2009-02-01 05:51:07 +00:00
parent 9b57ce8177
commit 2c235c6653

View file

@ -395,7 +395,7 @@ LsaOpenPolicy(
{
*PolicyHandle = NULL;
Status = LsarOpenPolicy(SystemName->Buffer,
Status = LsarOpenPolicy(SystemName ? SystemName->Buffer : NULL,
(PLSAPR_OBJECT_ATTRIBUTES)ObjectAttributes,
DesiredAccess,
PolicyHandle);