summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lam <plam@MIT.EDU>2005-11-17 16:46:07 +0000
committerPatrick Lam <plam@MIT.EDU>2005-11-17 16:46:07 +0000
commit38b2ecad5af4f7f7a55023afafaae075ecd3c753 (patch)
tree95a0d3dce10c1c8a8efec7bc24de1938413076d2
parentf28472fdb4e51a06283161f9e7a645d5354a37d2 (diff)
downloadfontconfig-38b2ecad5af4f7f7a55023afafaae075ecd3c753.tar.gz
Fix crash on invalid constants in config files (forgot to update a pointer
upon list iteration.)
-rw-r--r--ChangeLog6
-rw-r--r--src/fccfg.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 325481e..7216ca1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-17 Patrick Lam <plam@mit.edu>
+ * 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 <fcrozat@mandriva.com>
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;
}