mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[WIN32SS][GDI] Fix pool memory disclosure in NtGdiGetOutlineTextMetricsInternalW (#2964)
This commit is contained in:
parent
aae5cd8ea2
commit
50510538db
1 changed files with 1 additions and 0 deletions
|
@ -927,6 +927,7 @@ NtGdiGetOutlineTextMetricsInternalW (HDC hDC,
|
|||
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
||||
return 0;
|
||||
}
|
||||
RtlZeroMemory(potm, Size);
|
||||
IntGetOutlineTextMetrics(FontGDI, Size, potm);
|
||||
|
||||
_SEH2_TRY
|
||||
|
|
Loading…
Reference in a new issue