ntdll: Always set output values in RtlGetDaclSecurityDescriptor.
This commit is contained in:
parent
59520240cc
commit
79dd662d2d
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue