mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
fix r18639 the right way: don't check a - possibly random - pointer supplied by the caller, also correctly clear the owner SID pointer
svn path=/trunk/; revision=18640
This commit is contained in:
parent
c36fc14394
commit
973d0cfabc
1 changed files with 2 additions and 2 deletions
|
@ -1200,10 +1200,10 @@ pGetSecurityInfoCheck(SECURITY_INFORMATION SecurityInfo,
|
|||
if ((SecurityInfo & OWNER_SECURITY_INFORMATION) &&
|
||||
ppsidOwner != NULL)
|
||||
{
|
||||
ppsidOwner = NULL;
|
||||
*ppsidOwner = NULL;
|
||||
}
|
||||
if ((SecurityInfo & GROUP_SECURITY_INFORMATION) &&
|
||||
(ppsidGroup) && (*ppsidGroup))
|
||||
ppsidGroup != NULL)
|
||||
{
|
||||
*ppsidGroup = NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue