[ros-diffs] [fireball] 42300: - Uncomment access check for setting class info, but still leave the STATUS_ACCESS_DENIED case commented out with a mandatory debug print for debugging if it ever happens.

fireball at svn.reactos.org fireball at svn.reactos.org
Thu Jul 30 15:08:51 CEST 2009


Author: fireball
Date: Thu Jul 30 15:08:50 2009
New Revision: 42300

URL: http://svn.reactos.org/svn/reactos?rev=42300&view=rev
Log:
- Uncomment access check for setting class info, but still leave the STATUS_ACCESS_DENIED case commented out with a mandatory debug print for debugging if it ever happens.

Modified:
    branches/arwinss/reactos/subsystems/win32/win32k/wine/class.c

Modified: branches/arwinss/reactos/subsystems/win32/win32k/wine/class.c
URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/subsystems/win32/win32k/wine/class.c?rev=42300&r1=42299&r2=42300&view=diff
==============================================================================
--- branches/arwinss/reactos/subsystems/win32/win32k/wine/class.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/subsystems/win32/win32k/wine/class.c [iso-8859-1] Thu Jul 30 15:08:50 2009
@@ -223,14 +223,12 @@
     struct window_class *class = get_window_class( req->window );
 
     if (!class) return;
-DPRINT1("Fixme!\n");
-#if 0
     if (req->flags && class->process != PsGetCurrentProcessWin32Process())
     {
-        set_error( STATUS_ACCESS_DENIED );
-        return;
-    }
-#endif
+        //set_error( STATUS_ACCESS_DENIED );
+        //return;
+        DPRINT1("Fixme, should deny access!\n");
+    }
     if (req->extra_size > sizeof(req->extra_value) ||
         req->extra_offset < -1 ||
         req->extra_offset > class->nb_extra_bytes - (int)req->extra_size)




More information about the Ros-diffs mailing list