mirror of
https://github.com/reactos/reactos.git
synced 2024-07-22 04:08:08 +00:00
Don't write to user space with after an error.
svn path=/trunk/; revision=28219
This commit is contained in:
parent
434e1ef9df
commit
b82f6444f6
|
@ -1210,6 +1210,9 @@ NtGdiGetDCPoint( HDC hDC, UINT iPoint, PPOINTL Point)
|
|||
Ret = FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
if (!Ret)
|
||||
{
|
||||
_SEH_TRY
|
||||
{
|
||||
ProbeForWrite(Point,
|
||||
|
@ -1222,6 +1225,7 @@ NtGdiGetDCPoint( HDC hDC, UINT iPoint, PPOINTL Point)
|
|||
Status = _SEH_GetExceptionCode();
|
||||
}
|
||||
_SEH_END;
|
||||
}
|
||||
|
||||
if(!NT_SUCCESS(Status))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue