diff options
-rw-r--r-- | read.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1617,6 +1617,11 @@ parse_file_seq (stringp, stopchar, size, strip) new1->name = name; new1 = new1->next; } + + if (new1 == 0) + /* We might have slurped up the whole list, + and continuing the loop would dereference NEW1. */ + break; } } |