]> git.wh0rd.org Git - fontconfig.git/commitdiff
Fix crash on invalid constants in config files (forgot to update a pointer
authorPatrick Lam <plam@MIT.EDU>
Thu, 17 Nov 2005 16:46:07 +0000 (16:46 +0000)
committerPatrick Lam <plam@MIT.EDU>
Thu, 17 Nov 2005 16:46:07 +0000 (16:46 +0000)
    upon list iteration.)

ChangeLog
src/fccfg.c

index 325481ee169d77bd169d32d1d4a601b243b66c1b..7216ca184b03fa27fb72d1c5ee4226c1a73b8dcc 100644 (file)
--- 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
 
index 3781d7b4a8633411a4691bbdd8eff153e7853d41..3c311f94437765dfa7db9914b94da93b6a0f27e3 100644 (file)
@@ -1121,6 +1121,7 @@ FcConfigValues (FcPattern *p, FcExpr *e, FcValueBinding binding)
            free (l);
        }
        lp = next;
+        l = FcValueListPtrU (lp);
     }
     return l;
 }