[ros-diffs] [jimtabor] 34274: - Fixed an issue with Avira AntiVir Personal, reported by Christoph von Wittich. - GetLastActivePopup is unimplemented and returns a zero. So User32 locally checks and sees the zero and passes it to win32k for processing. There an (kbug) exception is thrown.

jimtabor at svn.reactos.org jimtabor at svn.reactos.org
Thu Jul 3 09:05:50 CEST 2008


Author: jimtabor
Date: Thu Jul  3 02:05:50 2008
New Revision: 34274

URL: http://svn.reactos.org/svn/reactos?rev=34274&view=rev
Log:
- Fixed an issue with Avira AntiVir Personal, reported by Christoph von Wittich.
- GetLastActivePopup is unimplemented and returns a zero. So User32 locally checks and sees the zero and passes it to win32k for processing. There an (kbug) exception is thrown.


Modified:
    trunk/reactos/subsystems/win32/win32k/ntuser/window.c

Modified: trunk/reactos/subsystems/win32/win32k/ntuser/window.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ntuser/window.c?rev=34274&r1=34273&r2=34274&view=diff
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/window.c [iso-8859-1] Thu Jul  3 02:05:50 2008
@@ -3633,6 +3633,8 @@
    }
 
    Wnd = Window->Wnd;
+
+   if (!Wnd) return 0; // No go on zero.
 
    if ((INT)Index >= 0)
    {



More information about the Ros-diffs mailing list