From bf06b2113d855a2252450c2a1b5d144433ca9cc9 Mon Sep 17 00:00:00 2001 From: Roel Messiant Date: Thu, 8 Dec 2011 19:38:58 +0000 Subject: [PATCH] [WIN32K] - Probe the whole SIZE struct arguments, not a pointer size. LPSIZE -> SIZE. CID 14119, 14120. svn path=/trunk/; revision=54617 --- reactos/subsystems/win32/win32k/objects/coord.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsystems/win32/win32k/objects/coord.c b/reactos/subsystems/win32/win32k/objects/coord.c index 67b57b366eb..275a76ead52 100644 --- a/reactos/subsystems/win32/win32k/objects/coord.c +++ b/reactos/subsystems/win32/win32k/objects/coord.c @@ -587,7 +587,7 @@ NtGdiScaleViewportExtEx( { _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 @@ NtGdiScaleWindowExtEx( _SEH2_TRY { - ProbeForWrite(pSize, sizeof(LPSIZE), 1); + ProbeForWrite(pSize, sizeof(SIZE), 1); X = pdcattr->szlWindowExt.cx; if (pdcattr->dwLayout & LAYOUT_RTL) X = -X;