Commit 79dd662d authored by Andrey Turkin's avatar Andrey Turkin Committed by Alexandre Julliard

ntdll: Always set output values in RtlGetDaclSecurityDescriptor.

parent 59520240
......@@ -618,7 +618,12 @@ NTSTATUS WINAPI RtlGetDaclSecurityDescriptor(
*pDacl = lpsd->Dacl;
*lpbDaclDefaulted = (( SE_DACL_DEFAULTED & lpsd->Control ) ? 1 : 0);
}
}
else
{
*pDacl = NULL;
*lpbDaclDefaulted = 0;
}
return STATUS_SUCCESS;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment