From: Patrick Lam Date: Thu, 17 Nov 2005 16:46:07 +0000 (+0000) Subject: Fix crash on invalid constants in config files (forgot to update a pointer X-Git-Tag: fc-2_3_93~42 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=38b2ecad5af4f7f7a55023afafaae075ecd3c753;p=fontconfig.git Fix crash on invalid constants in config files (forgot to update a pointer upon list iteration.) --- diff --git a/ChangeLog b/ChangeLog index 325481e..7216ca1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-17 Patrick Lam + * src/fccfg.c (FcConfigValues): + + Fix crash on invalid constants in config files (forgot to update + a pointer upon list iteration.) + 2005-11-17 Frederic Crozat reviewed by: plam diff --git a/src/fccfg.c b/src/fccfg.c index 3781d7b..3c311f9 100644 --- a/src/fccfg.c +++ b/src/fccfg.c @@ -1121,6 +1121,7 @@ FcConfigValues (FcPattern *p, FcExpr *e, FcValueBinding binding) free (l); } lp = next; + l = FcValueListPtrU (lp); } return l; }