Skip to content

Commit 5051053

Browse files
authored
[WIN32SS][GDI] Fix pool memory disclosure in NtGdiGetOutlineTextMetricsInternalW (reactos#2964)
1 parent aae5cd8 commit 5051053

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

win32ss/gdi/ntgdi/font.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,7 @@ NtGdiGetOutlineTextMetricsInternalW (HDC hDC,
927927
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);
928928
return 0;
929929
}
930+
RtlZeroMemory(potm, Size);
930931
IntGetOutlineTextMetrics(FontGDI, Size, potm);
931932

932933
_SEH2_TRY

0 commit comments

Comments
 (0)