mirror of
https://github.com/reactos/reactos.git
synced 2024-07-06 12:45:16 +00:00
[WIN32K]
In NtGdiGetTextExtentExW fail when Count is negative. svn path=/trunk/; revision=56384
This commit is contained in:
parent
9dbd062a44
commit
fd2013dc9e
|
@ -278,6 +278,12 @@ NtGdiGetTextExtentExW(
|
|||
LPINT Dx;
|
||||
PTEXTOBJ TextObj;
|
||||
|
||||
if ((LONG)Count < 0)
|
||||
{
|
||||
EngSetLastError(ERROR_INVALID_PARAMETER);
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* FIXME: Handle fl */
|
||||
|
||||
if (0 == Count)
|
||||
|
|
Loading…
Reference in a new issue