[RTL]
authorThomas Faber <thomas.faber@reactos.org>
Tue, 29 Jul 2014 20:29:14 +0000 (20:29 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Tue, 29 Jul 2014 20:29:14 +0000 (20:29 +0000)
- Fix copypasta in RtlValidSecurityDescriptor

svn path=/trunk/; revision=63774

reactos/lib/rtl/sd.c

index 010c4e2..ea7e3bb 100644 (file)
@@ -1070,7 +1070,7 @@ RtlValidSecurityDescriptor(IN PSECURITY_DESCRIPTOR SecurityDescriptor)
 
         /* Group SID must be valid if present */
         Group = SepGetGroupFromDescriptor(Sd);
-        if ((Owner) && (!RtlValidSid(Group))) _SEH2_YIELD(return FALSE);
+        if ((Group) && (!RtlValidSid(Group))) _SEH2_YIELD(return FALSE);
 
         /* DACL must be valid if present */
         Dacl = SepGetDaclFromDescriptor(Sd);