mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 19:26:16 +00:00
[WIN32K]
- Probe the whole SIZE struct arguments, not a pointer size. LPSIZE -> SIZE. CID 14119, 14120. svn path=/trunk/; revision=54617
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user