src/fclist.c | 2 ++ 1 file changed, 2 insertions(+) New commits: commit 8a174b6c51581df6ffd6a5da056949c6c79337cf Author: Akira TAGOH <akira@xxxxxxxxx> 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]; _______________________________________________ Fontconfig mailing list Fontconfig@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/fontconfig