ntdll: Always set output values in RtlGetDaclSecurityDescriptor.

This commit is contained in:
Andrey Turkin 2009-01-03 18:35:00 +03:00 committed by Alexandre Julliard
parent 59520240cc
commit 79dd662d2d
1 changed files with 6 additions and 1 deletions

View File

@ -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;
}