src/fcfreetype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) New commits: commit 322131f4330f972820fd903959999af9360120c0 Author: Akira TAGOH <akira@xxxxxxxxx> Date: Tue Jul 2 04:59:52 2019 +0000 Fix a crash when running with FC_DEBUG=256 Fixes https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/167 diff --git a/src/fcfreetype.c b/src/fcfreetype.c index d528544..2f86d8a 100644 --- a/src/fcfreetype.c +++ b/src/fcfreetype.c @@ -1546,7 +1546,7 @@ FcFreeTypeQueryFaceInternal (const FT_Face face, lang = FcSfntNameLanguage (&sname); if (FcDebug () & FC_DBG_SCANV) - printf ("%s\n", utf8); + printf ("%s\n", utf8 ? (char *)utf8 : "(null)"); if (!utf8) continue; _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/fontconfig