9fa0ef5f8f
Copy from M17N/fontconfig based on submit request 23972 from user tiwai OBS-URL: https://build.opensuse.org/request/show/23972 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fontconfig?expand=0&rev=27
15 lines
411 B
Diff
15 lines
411 B
Diff
Index: fontconfig-2.7.0/src/fcxml.c
|
|
===================================================================
|
|
--- fontconfig-2.7.0.orig/src/fcxml.c
|
|
+++ fontconfig-2.7.0/src/fcxml.c
|
|
@@ -539,6 +539,9 @@ FcTypecheckExpr (FcConfigParse *parse, F
|
|
{
|
|
const FcObjectType *o;
|
|
const FcConstant *c;
|
|
+
|
|
+ if (!expr)
|
|
+ return;
|
|
|
|
/* If parsing the expression failed, some nodes may be NULL */
|
|
if (!expr)
|