mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +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:
parent
de4cb19466
commit
bf06b2113d
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue