Author: hpoussin
Date: Thu Nov 13 20:10:52 2014
New Revision: 65396
URL:
http://svn.reactos.org/svn/reactos?rev=65396&view=rev
Log:
[NTOS:SE] Fix SeValidSecurityDescriptor
Modified:
trunk/reactos/ntoskrnl/se/sd.c
Modified: trunk/reactos/ntoskrnl/se/sd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/sd.c?rev=65396…
==============================================================================
--- trunk/reactos/ntoskrnl/se/sd.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/se/sd.c [iso-8859-1] Thu Nov 13 20:10:52 2014
@@ -986,7 +986,7 @@
SdLength = sizeof(SECURITY_DESCRIPTOR);
/* Check Owner SID */
- if (SecurityDescriptor->Owner)
+ if (!SecurityDescriptor->Owner)
{
DPRINT1("No Owner SID\n");
return FALSE;