diff options
author | Colin Harrison <colin.harrison@virgin.net> | 2008-12-17 16:44:07 +0000 |
---|---|---|
committer | Jon TURNEY <jon.turney@dronecode.org.uk> | 2008-12-18 12:37:14 +0000 |
commit | 15c4a6e088039e14b4f2387ff204cb5448916b39 (patch) | |
tree | 8dfd1b0870f805ab1fb38d24d05ff8d7b390f79d | |
parent | 08a3d6928c87032998b6113d67f69b79b09eecee (diff) |
Xming, Cygwin/X: Fix crash in function winMultiWindowGetTransientFor() (#11147)
The function winMultiWindowGetTransientFor() crashes, due to a bogus pointer
dereference, but this fact was previously hidden by the function not being called!
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rwxr-xr-x | hw/xwin/winmultiwindowclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xwin/winmultiwindowclass.c b/hw/xwin/winmultiwindowclass.c index 5b47c3976..a5cf2120a 100755 --- a/hw/xwin/winmultiwindowclass.c +++ b/hw/xwin/winmultiwindowclass.c @@ -263,7 +263,7 @@ winMultiWindowGetTransientFor (WindowPtr pWin, WindowPtr *ppDaddy) if (prop->propertyName == XA_WM_TRANSIENT_FOR) { if (ppDaddy) - memcpy (*ppDaddy, prop->data, sizeof (WindowPtr)); + memcpy (ppDaddy, prop->data, sizeof (WindowPtr)); return 1; } else |