diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2019-04-30 16:25:33 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2019-04-30 16:25:33 +0300 |
commit | cefd9c0d8dda992d4f6cc8874a8063579b7fd877 (patch) | |
tree | e00f77a9c220968f072706339f3521a588f8e81d | |
parent | 2c494255a3bf9ac3fda8c5d85e840d6b9c902d00 (diff) | |
download | acpp-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
-rw-r--r-- | lib/Apache/Config/Preproc/include.pm | 2 |
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; |