mirror of
https://github.com/reactos/reactos.git
synced 2024-11-18 21:13:52 +00:00
[NTGDI] Fix pool memory disclosure in NtGdiGetGlyphOutline (#3021)
This commit is contained in:
parent
aab8cd81ff
commit
a081e12fbd
1 changed files with 1 additions and 1 deletions
|
@ -743,7 +743,7 @@ NtGdiGetGlyphOutline(
|
|||
|
||||
if (UnsafeBuf && cjBuf)
|
||||
{
|
||||
pvBuf = ExAllocatePoolWithTag(PagedPool, cjBuf, GDITAG_TEXT);
|
||||
pvBuf = ExAllocatePoolZero(PagedPool, cjBuf, GDITAG_TEXT);
|
||||
if (!pvBuf)
|
||||
{
|
||||
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
||||
|
|
Loading…
Reference in a new issue