aboutsummaryrefslogtreecommitdiffstats
path: root/configure.pl
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-10-08 15:26:04 +0000
committerlloyd <[email protected]>2008-10-08 15:26:04 +0000
commit8ffbc8cdb2ee4db93439721d95fc9f12c377d436 (patch)
tree829d410d0de0771600812a17a7dfc0755a2b3140 /configure.pl
parent6cac26febbc7d39fde2a4646c94de0b319ab21f1 (diff)
Fix infinite loop if no close tag found in info.txt file
Diffstat (limited to 'configure.pl')
-rwxr-xr-xconfigure.pl2
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);
}