mirror of
https://github.com/reactos/reactos.git
synced 2024-08-02 17:40:58 +00:00
SystemName == NULL is valid for LsaOpenPolicy
svn path=/trunk/; revision=39257
This commit is contained in:
parent
9b57ce8177
commit
2c235c6653
|
@ -388,14 +388,14 @@ LsaOpenPolicy(
|
|||
NTSTATUS Status;
|
||||
|
||||
TRACE("LsaOpenPolicy (%s,%p,0x%08x,%p)\n",
|
||||
SystemName?debugstr_w(SystemName->Buffer):"(null)",
|
||||
SystemName ? debugstr_w(SystemName->Buffer) : "(null)",
|
||||
ObjectAttributes, DesiredAccess, PolicyHandle);
|
||||
|
||||
RpcTryExcept
|
||||
{
|
||||
*PolicyHandle = NULL;
|
||||
|
||||
Status = LsarOpenPolicy(SystemName->Buffer,
|
||||
Status = LsarOpenPolicy(SystemName ? SystemName->Buffer : NULL,
|
||||
(PLSAPR_OBJECT_ATTRIBUTES)ObjectAttributes,
|
||||
DesiredAccess,
|
||||
PolicyHandle);
|
||||
|
|
Loading…
Reference in a new issue