Author: tkreuzer
Date: Thu May 1 10:51:19 2014
New Revision: 63093
URL:
http://svn.reactos.org/svn/reactos?rev=63093&view=rev
Log:
[WIN32K]
Fix possible NULL pointer dereference in GreSetStretchBltMode. CID 1206825
Modified:
trunk/reactos/win32ss/gdi/ntgdi/dcutil.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/dcutil.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/dcutil.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/dcutil.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/dcutil.c [iso-8859-1] Thu May 1 10:51:19 2014
@@ -236,8 +236,8 @@
if ((iStretchMode <= 0) || (iStretchMode > MAXSTRETCHBLTMODE)) iStretchMode
= WHITEONBLACK;
pdcattr->jStretchBltMode = iStretchMode;
- }
- DC_UnlockDc(pdc);
+ DC_UnlockDc(pdc);
+ }
return oSMode;
}