If FcFontList returns an empty FcFontSet synfig will crash because
fs-fonts is a NULL pointer. Avoid that crash by checking the number of
returned fonts.
Signed-off-by: Olaf Hering o...@aepfle.de
---
src/modules/lyr_freetype/lyr_freetype.cpp |2 +-
1 file changed, 1 insertion(+), 1
2015-06-22 21:28 GMT+06:00 Olaf Hering o...@aepfle.de:
If FcFontList returns an empty FcFontSet synfig will crash because
fs-fonts is a NULL pointer. Avoid that crash by checking the number of
returned fonts.
Signed-off-by: Olaf Hering o...@aepfle.de
---