diff options
author | marha <marha@users.sourceforge.net> | 2011-03-18 09:32:43 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-03-18 09:32:43 +0000 |
commit | f42328963ef48163c38adf72c067078eaa717cff (patch) | |
tree | 1996106e8fb0cde1629c2cb7abf123cba9cd84ae /xorg-server | |
parent | 76b655664dad149451d0abaa15929d1b7b62e0c6 (diff) | |
download | vcxsrv-f42328963ef48163c38adf72c067078eaa717cff.tar.gz vcxsrv-f42328963ef48163c38adf72c067078eaa717cff.tar.bz2 vcxsrv-f42328963ef48163c38adf72c067078eaa717cff.zip |
Solved possible crash due to NULL pointer access
Diffstat (limited to 'xorg-server')
-rw-r--r-- | xorg-server/hw/xwin/winmultiwindowwndproc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winmultiwindowwndproc.c b/xorg-server/hw/xwin/winmultiwindowwndproc.c index fe262be61..91a488913 100644 --- a/xorg-server/hw/xwin/winmultiwindowwndproc.c +++ b/xorg-server/hw/xwin/winmultiwindowwndproc.c @@ -568,7 +568,10 @@ winTopLevelWindowProc (HWND hwnd, UINT message, break;
case WM_MOUSELEAVE:
- /* Mouse has left our client area */
+ /* We can't do anything without privates */
+ if (s_pScreenPriv == NULL || s_pScreenInfo->fIgnoreInput)
+ break;
+ /* Mouse has left our client area */
/* Flag that we are no longer tracking */
s_fTracking = FALSE;
|