From f053231186fc340b5365a59eea30db5af787877a Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Fri, 22 May 2015 20:46:54 +0900 Subject: [PATCH] Fix a crash segfault happens when the config needs to be migrated to XDG's and no definition for include with prefix="xdg" --- src/fcxml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fcxml.c b/src/fcxml.c index ba38203..d471569 100644 --- a/src/fcxml.c +++ b/src/fcxml.c @@ -2388,6 +2388,7 @@ FcParseInclude (FcConfigParse *parse) filename = FcConfigFilename(s); if (deprecated == FcTrue && filename != NULL && + userdir != NULL && !FcFileIsLink (filename)) { if (FcFileIsDir (filename))