[WIN32SS][NTGDI] Avoid allocation of zero size in NtGdiGetGlyphIndicesW (#1577)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Mon, 27 May 2019 07:52:45 +0000 (16:52 +0900)
committerGitHub <noreply@github.com>
Mon, 27 May 2019 07:52:45 +0000 (16:52 +0900)
commitc52b8288d1deabe8be9dc92c0499526de3be693f
tree87fcfb1af9d2b5c0b25e122459bb6b1bcb49853a
parentccd95b9880c777723e352a21f3d2829f61053355
[WIN32SS][NTGDI] Avoid allocation of zero size in NtGdiGetGlyphIndicesW (#1577)

In NtGdiGetGlyphIndicesW function, allocation of zero size had caused fatal failures.
Avoid allocation of zero size in ExAllocatePoolWithTag calls. Optimize for cwc == 0. CORE-12825
win32ss/gdi/ntgdi/freetype.c