mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:36:07 +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)
|
if (UnsafeBuf && cjBuf)
|
||||||
{
|
{
|
||||||
pvBuf = ExAllocatePoolWithTag(PagedPool, cjBuf, GDITAG_TEXT);
|
pvBuf = ExAllocatePoolZero(PagedPool, cjBuf, GDITAG_TEXT);
|
||||||
if (!pvBuf)
|
if (!pvBuf)
|
||||||
{
|
{
|
||||||
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue