[NTOS:SE] Fix SeValidSecurityDescriptor
authorHervé Poussineau <hpoussin@reactos.org>
Thu, 13 Nov 2014 20:10:52 +0000 (20:10 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Thu, 13 Nov 2014 20:10:52 +0000 (20:10 +0000)
svn path=/trunk/; revision=65396

reactos/ntoskrnl/se/sd.c

index d3079dc..d6e5b53 100644 (file)
@@ -986,7 +986,7 @@ SeValidSecurityDescriptor(IN ULONG Length,
     SdLength = sizeof(SECURITY_DESCRIPTOR);
 
     /* Check Owner SID */
-    if (SecurityDescriptor->Owner)
+    if (!SecurityDescriptor->Owner)
     {
         DPRINT1("No Owner SID\n");
         return FALSE;