diff options
author | Patrick Lam <plam@MIT.EDU> | 2005-11-17 16:46:07 +0000 |
---|---|---|
committer | Patrick Lam <plam@MIT.EDU> | 2005-11-17 16:46:07 +0000 |
commit | 38b2ecad5af4f7f7a55023afafaae075ecd3c753 (patch) | |
tree | 95a0d3dce10c1c8a8efec7bc24de1938413076d2 | |
parent | f28472fdb4e51a06283161f9e7a645d5354a37d2 (diff) | |
download | fontconfig-38b2ecad5af4f7f7a55023afafaae075ecd3c753.tar.gz |
Fix crash on invalid constants in config files (forgot to update a pointer
upon list iteration.)
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/fccfg.c | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -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; } |