Fix crash on invalid constants in config files (forgot to update a pointer

upon list iteration.)
This commit is contained in:
Patrick Lam 2005-11-17 16:46:07 +00:00
parent f28472fdb4
commit 38b2ecad5a
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -1121,6 +1121,7 @@ FcConfigValues (FcPattern *p, FcExpr *e, FcValueBinding binding)
free (l);
}
lp = next;
l = FcValueListPtrU (lp);
}
return l;
}