summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org>2019-04-30 13:25:33 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2019-04-30 13:25:33 (GMT)
commitcefd9c0d8dda992d4f6cc8874a8063579b7fd877 (patch) (side-by-side diff)
treee00f77a9c220968f072706339f3521a588f8e81d
parent2c494255a3bf9ac3fda8c5d85e840d6b9c902d00 (diff)
downloadacpp-cefd9c0d8dda992d4f6cc8874a8063579b7fd877.tar.gz
acpp-cefd9c0d8dda992d4f6cc8874a8063579b7fd877.tar.bz2
Fix cyclic inclusion detection on systems with negative device numbers
* lib/Apache/Config/Preproc/include.pm (expand): Allow for negative device and inode numbers. Fixes bug #129334
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--lib/Apache/Config/Preproc/include.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Apache/Config/Preproc/include.pm b/lib/Apache/Config/Preproc/include.pm
index b4fd7b1..b7e6870 100644
--- a/lib/Apache/Config/Preproc/include.pm
+++ b/lib/Apache/Config/Preproc/include.pm
@@ -97,7 +97,7 @@ sub expand {
}
return 1;
} elsif ($d->name eq '$PUSH$') {
- if ($d->value =~ /^\"(.+)\" (\d+) (\d+)$/) {
+ if ($d->value =~ /^\"(.+)\" (-?\d+) (-?\d+)$/) {
$self->context_push($1, $2, $3);
}
return 1;

Return to:

Send suggestions and report system problems to the System administrator.