mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
- Make sure SecurityDescriptor is not NULL.
svn path=/trunk/; revision=37983
This commit is contained in:
parent
339bbdd5bf
commit
50f45e4521
1 changed files with 1 additions and 1 deletions
|
@ -1132,7 +1132,7 @@ ConvertStringSecurityDescriptorToSecurityDescriptorW(
|
|||
PSECURITY_DESCRIPTOR sd = NULL;
|
||||
BOOL ret = FALSE;
|
||||
|
||||
if (!StringSecurityDescriptor)
|
||||
if (!StringSecurityDescriptor || !SecurityDescriptor)
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
else if (StringSDRevision != SDDL_REVISION_1)
|
||||
SetLastError(ERROR_INVALID_PARAMETER);
|
||||
|
|
Loading…
Reference in a new issue