mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 19:26:42 +00:00
[WIN32K]
In NtGdiGetTextExtentExW fail when Count is negative. svn path=/trunk/; revision=56384
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user