mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-20 01:38:02 +00:00
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;
|
*pDacl = lpsd->Dacl;
|
||||||
|
|
||||||
*lpbDaclDefaulted = (( SE_DACL_DEFAULTED & lpsd->Control ) ? 1 : 0);
|
*lpbDaclDefaulted = (( SE_DACL_DEFAULTED & lpsd->Control ) ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
*pDacl = NULL;
|
||||||
|
*lpbDaclDefaulted = 0;
|
||||||
|
}
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue