[NTMARTA] fix copypasta
authorChristoph von Wittich <christoph_vw@reactos.org>
Wed, 2 Sep 2015 08:56:58 +0000 (08:56 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Wed, 2 Sep 2015 08:56:58 +0000 (08:56 +0000)
svn path=/trunk/; revision=68910

reactos/dll/win32/ntmarta/ntmarta.c

index cc293b1..062fe76 100644 (file)
@@ -252,7 +252,7 @@ AccpGetTrusteeObjects(IN PTRUSTEE_W Trustee,
                 *pObjectTypeGuid = pOas->ObjectTypeGuid;
 
             if (pInheritedObjectTypeGuid != NULL && pOas->ObjectsPresent & ACE_INHERITED_OBJECT_TYPE_PRESENT)
-                *pObjectTypeGuid = pOas->InheritedObjectTypeGuid;
+                *pInheritedObjectTypeGuid = pOas->InheritedObjectTypeGuid;
 
             Ret = pOas->ObjectsPresent;
             break;
@@ -705,7 +705,7 @@ AccRewriteGetHandleRights(HANDLE handle,
 
         if (SecurityInfo & GROUP_SECURITY_INFORMATION && ppsidGroup != NULL)
         {
-            *ppsidOwner = NULL;
+            *ppsidGroup = NULL;
             if (!GetSecurityDescriptorGroup(pSD,
                                             ppsidGroup,
                                             &Defaulted))