projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[NTGDI] Fix pool memory disclosure in NtGdiGetGlyphOutline (#3021)
[reactos.git]
/
win32ss
/
gdi
/
ntgdi
/
font.c
diff --git
a/win32ss/gdi/ntgdi/font.c
b/win32ss/gdi/ntgdi/font.c
index
876fb02
..
1db1284
100644
(file)
--- a/
win32ss/gdi/ntgdi/font.c
+++ b/
win32ss/gdi/ntgdi/font.c
@@
-743,7
+743,7
@@
NtGdiGetGlyphOutline(
if (UnsafeBuf && cjBuf)
{
- pvBuf = ExAllocatePool
WithTag
(PagedPool, cjBuf, GDITAG_TEXT);
+ pvBuf = ExAllocatePool
Zero
(PagedPool, cjBuf, GDITAG_TEXT);
if (!pvBuf)
{
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);