mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 06:55:44 +00:00
[WIN32K] add missing parameter check in NtGdiArcInternal
svn path=/trunk/; revision=72653
This commit is contained in:
parent
4e415d8996
commit
63df102547
1 changed files with 6 additions and 0 deletions
|
@ -376,6 +376,12 @@ NtGdiArcInternal(
|
|||
/* Yes, Windows really returns TRUE in this case */
|
||||
return TRUE;
|
||||
}
|
||||
if (arctype > GdiTypePie)
|
||||
{
|
||||
DC_UnlockDc(dc);
|
||||
EngSetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
DC_vPrepareDCsForBlit(dc, NULL, NULL, NULL);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue