reactos/win32ss/gdi/ntgdi
Oleg Dubinskiy 04f04efc96
[NTGDI] FontLink: avoid invalid font name buffer freeing (#7131)
Don't free the linked font name if it's already NULL. Since it is allocated only once (when loading the font name from Registry), it should be freed only once too. All subsequent freeing attempts will result in invalid pool freeing.
This fixes the 0xC2 BAD_POOL_CALLER bugcheck when trying to resize window (and draw more text) from soundcloud.com in K-Meleon 76.5.4 Goanna engine and when switching between channels (during redrawing the text) in DiscordMessenger v1.06 Beta.
Addendum to 0f9e889736.
CORE-19681
2024-07-11 14:27:26 +02:00
..
arc.c
baseobj.hpp
bezier.c
bitblt.c [NTGDI] Fix MaskBlt error code and check pattern usage (#7083) 2024-07-06 13:28:26 +09:00
bitmaps.c
bitmaps.h
brush.cpp
brush.h
brush.hpp
cliprgn.c
cliprgn.h
color.h
coord.c
coord.h
dc.h
dcattr.c
dclife.c
dcobjs.c
dcstate.c
dcutil.c
device.c
dib.h
dibobj.c [NTDDRAW][NTGDI][VGADDI] Add missing \n to DPRINT() calls (#5952) 2023-11-15 21:07:27 +01:00
drawing.c
fillshap.c
font.c [NTGDI][FREETYPE][SETUP][INF] Support FontLink (#7009) 2024-06-30 22:15:34 +09:00
font.h
freetype.c [NTGDI] FontLink: avoid invalid font name buffer freeing (#7131) 2024-07-11 14:27:26 +02:00
gdibatch.c
gdidbg.c
gdidebug.h
gdikdbgext.c
gdiobj.c
gdiobj.h
gdipool.c
icm.c
init.c
intgdi.h
line.c
metafile.c
misc.h [WIN32SS] Fix const-ness of registry helper functions (#6525) 2024-02-23 21:26:12 +09:00
paint.h
palette.c
palette.h
path.c
path.h
pen.c
pen.h
polyfill.c
print.c
rect.c
rect.h
region.c [NTDDRAW][NTGDI][VGADDI] Add missing \n to DPRINT() calls (#5952) 2023-11-15 21:07:27 +01:00
region.h
stockobj.c
text.c
text.h [NTGDI][FREETYPE][SETUP][INF] Support FontLink (#7009) 2024-06-30 22:15:34 +09:00
wingl.c
xformobj.c
xformobj.h