Author: tkreuzer
Date: Tue Aug 11 21:03:51 2009
New Revision: 42626
URL:
http://svn.reactos.org/svn/reactos?rev=42626&view=rev
Log:
[win32k]
- EngSetPointerShape: Don't dereference psoMask without checking it
Modified:
trunk/reactos/subsystems/win32/win32k/eng/mouse.c
Modified: trunk/reactos/subsystems/win32/win32k/eng/mouse.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/en…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/eng/mouse.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/eng/mouse.c [iso-8859-1] Tue Aug 11 21:03:51
2009
@@ -358,7 +358,7 @@
}
}
}
- else
+ else if (psoMask)
{
pgp->Size.cx = psoMask->sizlBitmap.cx;
pgp->Size.cy = psoMask->sizlBitmap.cy / 2;