[WIN32SS][GDI] Fix pool memory disclosure in NtGdiGetOutlineTextMetricsInternalW (#2964)

This commit is contained in:
Nguyen Trung Khanh 2020-07-04 20:39:16 +07:00 committed by GitHub
parent aae5cd8ea2
commit 50510538db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -927,6 +927,7 @@ NtGdiGetOutlineTextMetricsInternalW (HDC hDC,
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);
return 0;
}
RtlZeroMemory(potm, Size);
IntGetOutlineTextMetrics(FontGDI, Size, potm);
_SEH2_TRY