diff options
author | lloyd <[email protected]> | 2008-10-08 15:26:04 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-10-08 15:26:04 +0000 |
commit | 8ffbc8cdb2ee4db93439721d95fc9f12c377d436 (patch) | |
tree | 829d410d0de0771600812a17a7dfc0755a2b3140 /configure.pl | |
parent | 6cac26febbc7d39fde2a4646c94de0b319ab21f1 (diff) |
Fix infinite loop if no close tag found in info.txt file
Diffstat (limited to 'configure.pl')
-rwxr-xr-x | configure.pl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.pl b/configure.pl index 87d4e8b28..c12c2b258 100755 --- a/configure.pl +++ b/configure.pl @@ -1385,6 +1385,8 @@ sub read_list { if($line =~ m@^<$marker>$@) { while(1) { $line = &$reader(); + + die "EOF while searching for $marker" unless $line; last if($line =~ m@^</$marker>$@); &$func($line); } |