From abc65bc027fd2a2e6a6e6be35942b1aac441d908 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Tue, 11 Aug 2009 19:03:51 +0000 Subject: [PATCH] [win32k] - EngSetPointerShape: Don't dereference psoMask without checking it svn path=/trunk/; revision=42626 --- reactos/subsystems/win32/win32k/eng/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/win32k/eng/mouse.c b/reactos/subsystems/win32/win32k/eng/mouse.c index 6ba618a5b42..dcd5c2f2b9d 100644 --- a/reactos/subsystems/win32/win32k/eng/mouse.c +++ b/reactos/subsystems/win32/win32k/eng/mouse.c @@ -358,7 +358,7 @@ EngSetPointerShape( } } } - else + else if (psoMask) { pgp->Size.cx = psoMask->sizlBitmap.cx; pgp->Size.cy = psoMask->sizlBitmap.cy / 2;