mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 15:36:04 +00:00
SystemName == NULL is valid for LsaOpenPolicy
svn path=/trunk/; revision=39257
This commit is contained in:
parent
9b57ce8177
commit
2c235c6653
1 changed files with 2 additions and 2 deletions
|
@ -388,14 +388,14 @@ LsaOpenPolicy(
|
||||||
NTSTATUS Status;
|
NTSTATUS Status;
|
||||||
|
|
||||||
TRACE("LsaOpenPolicy (%s,%p,0x%08x,%p)\n",
|
TRACE("LsaOpenPolicy (%s,%p,0x%08x,%p)\n",
|
||||||
SystemName?debugstr_w(SystemName->Buffer):"(null)",
|
SystemName ? debugstr_w(SystemName->Buffer) : "(null)",
|
||||||
ObjectAttributes, DesiredAccess, PolicyHandle);
|
ObjectAttributes, DesiredAccess, PolicyHandle);
|
||||||
|
|
||||||
RpcTryExcept
|
RpcTryExcept
|
||||||
{
|
{
|
||||||
*PolicyHandle = NULL;
|
*PolicyHandle = NULL;
|
||||||
|
|
||||||
Status = LsarOpenPolicy(SystemName->Buffer,
|
Status = LsarOpenPolicy(SystemName ? SystemName->Buffer : NULL,
|
||||||
(PLSAPR_OBJECT_ATTRIBUTES)ObjectAttributes,
|
(PLSAPR_OBJECT_ATTRIBUTES)ObjectAttributes,
|
||||||
DesiredAccess,
|
DesiredAccess,
|
||||||
PolicyHandle);
|
PolicyHandle);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue