Author: tkreuzer
Date: Tue Mar 10 10:01:44 2015
New Revision: 66656
URL:
http://svn.reactos.org/svn/reactos?rev=66656&view=rev
Log:
[WIN32K]
Fix a typo introduced in r66644. Fixes icon corruption / testbot regression.
CORE-9351 #resolve
Modified:
trunk/reactos/win32ss/gdi/ntgdi/dibobj.c
Modified: trunk/reactos/win32ss/gdi/ntgdi/dibobj.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/gdi/ntgdi/dibobj.c…
==============================================================================
--- trunk/reactos/win32ss/gdi/ntgdi/dibobj.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/gdi/ntgdi/dibobj.c [iso-8859-1] Tue Mar 10 10:01:44 2015
@@ -1051,7 +1051,7 @@
{
/* Probe and copy the BITMAPINFO */
ProbeForRead(pbmi, cjMaxInfo, 1);
- RtlCopyMemory(pbmi, pbmi, cjMaxInfo);
+ RtlCopyMemory(pbmiSafe, pbmi, cjMaxInfo);
}
_SEH2_EXCEPT(EXCEPTION_EXECUTE_HANDLER)
{