mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 02:20:54 +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;
|
LPINT Dx;
|
||||||
PTEXTOBJ TextObj;
|
PTEXTOBJ TextObj;
|
||||||
|
|
||||||
|
if ((LONG)Count < 0)
|
||||||
|
{
|
||||||
|
EngSetLastError(ERROR_INVALID_PARAMETER);
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/* FIXME: Handle fl */
|
/* FIXME: Handle fl */
|
||||||
|
|
||||||
if (0 == Count)
|
if (0 == Count)
|
||||||
|
|
Loading…
Reference in a new issue