Author: tkreuzer
Date: Sat Jan 8 19:24:29 2011
New Revision: 50332
URL:
http://svn.reactos.org/svn/reactos?rev=50332&view=rev
Log:
{GDI32]
Check paramters in CombineTransform
Modified:
trunk/reactos/dll/win32/gdi32/objects/coord.c
Modified: trunk/reactos/dll/win32/gdi32/objects/coord.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/co…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/coord.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/objects/coord.c [iso-8859-1] Sat Jan 8 19:24:29 2011
@@ -66,6 +66,9 @@
const XFORM *pxf2)
{
XFORM xformTmp;
+
+ /* Check paramters */
+ if (!pxfResult || !pxf1 || !pxf2) return FALSE;
/* Do matrix multiplication */
xformTmp.eM11 = pxf1->eM11 * pxf2->eM11 + pxf1->eM12 * pxf2->eM21;