[Fontconfig] fontconfig: Branch 'master'
Akira TAGOH
tagoh at kemper.freedesktop.org
Mon Sep 23 19:16:52 PDT 2013
src/fclist.c | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 8a174b6c51581df6ffd6a5da056949c6c79337cf
Author: Akira TAGOH <akira at tagoh.org>
Date: Tue Sep 24 11:14:57 2013 +0900
Fix a crash when FcPattern is set to null on FcFontSetList() and FcFontList()
diff --git a/src/fclist.c b/src/fclist.c
index c56e24c..a365098 100644
--- a/src/fclist.c
+++ b/src/fclist.c
@@ -212,6 +212,8 @@ FcListPatternMatchAny (const FcPattern *p,
{
int i;
+ if (!p)
+ return FcFalse;
for (i = 0; i < p->num; i++)
{
FcPatternElt *pe = &FcPatternElts(p)[i];
More information about the Fontconfig
mailing list