From: Roland McGrath Date: Thu, 23 Dec 1993 22:56:05 +0000 (+0000) Subject: Formerly read.c.~72~ X-Git-Tag: 3.70.2~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2932fb1bcaba5e954e40a89fe004f5b88bd9ed27;p=thirdparty%2Fmake.git Formerly read.c.~72~ --- diff --git a/read.c b/read.c index 0ad6c5bc..881f2b00 100644 --- a/read.c +++ b/read.c @@ -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; } }