mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:25:43 +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);
|
EngSetLastError(ERROR_NOT_ENOUGH_MEMORY);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
RtlZeroMemory(potm, Size);
|
||||||
IntGetOutlineTextMetrics(FontGDI, Size, potm);
|
IntGetOutlineTextMetrics(FontGDI, Size, potm);
|
||||||
|
|
||||||
_SEH2_TRY
|
_SEH2_TRY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue