gdiplus: GdipGetFamilyName() should not crash when given a NULL name.
commitad663360fae6b4a9ee3d7786857404e0a4917329
authorFrancois Gouget <fgouget@codeweavers.com>
Thu, 26 Aug 2021 11:16:12 +0000 (26 13:16 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 27 Aug 2021 18:27:22 +0000 (27 20:27 +0200)
tree3f7d201470f472f87870334882d1d668fd29ec49
parent261956b6fd6a67acfb7485d4fab598d059029058
gdiplus: GdipGetFamilyName() should not crash when given a NULL name.

It used to crash on Windows XP and Vista but does not since Windows 7.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/gdiplus/font.c
dlls/gdiplus/tests/font.c