Author: hpoussin
Date: Mon Oct 16 01:24:21 2006
New Revision: 24532
URL:
http://svn.reactos.org/svn/reactos?rev=24532&view=rev
Log:
Don't force a security descriptor to have an owner
Modified:
trunk/reactos/ntoskrnl/se/semgr.c
Modified: trunk/reactos/ntoskrnl/se/semgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/semgr.c?rev=24…
==============================================================================
--- trunk/reactos/ntoskrnl/se/semgr.c (original)
+++ trunk/reactos/ntoskrnl/se/semgr.c Mon Oct 16 01:24:21 2006
@@ -971,7 +971,7 @@
return FALSE;
}
- if (SepSidInToken(Token, Sid))
+ if (Sid && SepSidInToken(Token, Sid))
{
CurrentAccess |= (READ_CONTROL | WRITE_DAC);
if (DesiredAccess == CurrentAccess)