From 38b2ecad5af4f7f7a55023afafaae075ecd3c753 Mon Sep 17 00:00:00 2001 From: Patrick Lam Date: Thu, 17 Nov 2005 16:46:07 +0000 Subject: [PATCH] Fix crash on invalid constants in config files (forgot to update a pointer upon list iteration.) --- ChangeLog | 6 ++++++ src/fccfg.c | 1 + 2 files changed, 7 insertions(+) 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; } -- 2.39.2