Commit in reactos/subsys/win32k/ntuser on MAIN
misc.c+7-11.71 -> 1.72
GetWindowInfo() doesn't check the cbSize parameter

reactos/subsys/win32k/ntuser
misc.c 1.71 -> 1.72
diff -u -r1.71 -r1.72
--- misc.c	10 May 2004 17:07:18 -0000	1.71
+++ misc.c	12 May 2004 15:28:01 -0000	1.72
@@ -1,4 +1,4 @@
-/* $Id: misc.c,v 1.71 2004/05/10 17:07:18 weiden Exp $
+/* $Id: misc.c,v 1.72 2004/05/12 15:28:01 weiden Exp $
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -428,6 +428,11 @@
         return FALSE;
       }
       
+#if 0
+      /*
+       * According to WINE, Windows' doesn't check the cbSize field
+       */
+      
       Status = MmCopyFromCaller(&wi.cbSize, (PVOID)Param2, sizeof(wi.cbSize));
       if(!NT_SUCCESS(Status))
       {
@@ -442,6 +447,7 @@
         SetLastWin32Error(ERROR_INVALID_PARAMETER);
         return FALSE;
       }
+#endif
       
       if((Ret = (DWORD)IntGetWindowInfo(WindowObject, &wi)))
       {
CVSspam 0.2.8