[ros-bugs] [Bug 4169] Regression: ERROR_BAD_IMPERSONATION_LEVEL during installation in several programs

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Sun Nov 22 18:56:24 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4169





--- Comment #27 from philcostin <philcostin at hotmail.com>  2009-11-22 18:56:24 CET ---
Here is the 'new' hack (the one I use, anyway)


Index: ntoskrnl/se/semgr.c
===================================================================
--- ntoskrnl/se/semgr.c (revision 44267)
+++ ntoskrnl/se/semgr.c (working copy)
@@ -600,8 +600,8 @@
         *AccessStatus = STATUS_SUCCESS;
         return TRUE;
     }
-    else if ((*GrantedAccess & ~VALID_INHERIT_FLAGS) == 
-             (DesiredAccess & ~VALID_INHERIT_FLAGS))
+    else if (TRUE || ((*GrantedAccess & ~VALID_INHERIT_FLAGS) == 
+             (DesiredAccess & ~VALID_INHERIT_FLAGS)))
     {
         *AccessStatus = STATUS_SUCCESS;
         return TRUE;


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list