mirror of
https://github.com/reactos/reactos.git
synced 2025-05-16 15:50:24 +00:00
[WIN32K]
In NtGdiGetTextExtentExW fail when Count is negative. svn path=/trunk/; revision=56384
This commit is contained in:
parent
9dbd062a44
commit
fd2013dc9e
1 changed files with 6 additions and 0 deletions
|
@ -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