Blob Blame History Raw
--- a/src/bdf/bdflib.c	2012-03-28 13:25:37.000000000 +0200
+++ b/src/bdf/bdflib.c	2012-03-28 13:25:37.000000000 +0200
@@ -521,6 +521,14 @@
 
     /* Initialize the list. */
     list->used = 0;
+    if ( list->size )
+    {
+      list->field[0] = (char*)empty;
+      list->field[1] = (char*)empty;
+      list->field[2] = (char*)empty;
+      list->field[3] = (char*)empty;
+      list->field[4] = (char*)empty;
+    }
 
     /* If the line is empty, then simply return. */
     if ( linelen == 0 || line[0] == 0 )