Author: rmessiant
Date: Thu Dec 8 19:38:58 2011
New Revision: 54617
URL:
http://svn.reactos.org/svn/reactos?rev=54617&view=rev
Log:
[WIN32K]
- Probe the whole SIZE struct arguments, not a pointer size. LPSIZE -> SIZE. CID 14119,
14120.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/coord.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/coord.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/coord.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/coord.c [iso-8859-1] Thu Dec 8 19:38:58
2011
@@ -587,7 +587,7 @@
{
_SEH2_TRY
{
- ProbeForWrite(pSize, sizeof(LPSIZE), 1);
+ ProbeForWrite(pSize, sizeof(SIZE), 1);
pSize->cx = pdcattr->szlViewportExt.cx;
pSize->cy = pdcattr->szlViewportExt.cy;
@@ -633,7 +633,7 @@
_SEH2_TRY
{
- ProbeForWrite(pSize, sizeof(LPSIZE), 1);
+ ProbeForWrite(pSize, sizeof(SIZE), 1);
X = pdcattr->szlWindowExt.cx;
if (pdcattr->dwLayout & LAYOUT_RTL) X = -X;