From 80760eb18db2c66007e167c708ff39c5b67c1818 Mon Sep 17 00:00:00 2001 From: Sebastian Riedel Date: Thu, 28 Jan 2021 17:20:07 +0100 Subject: [PATCH] Increase file limit a little bit for very large cpio archives --- Unpack.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Unpack.pm b/Unpack.pm index d5354ac..1cc7348 100644 --- a/Unpack.pm +++ b/Unpack.pm @@ -1662,7 +1662,7 @@ sub _unused_pathname ## try to come up with a very similar name, just different suffix. ## be compatible with path name shortening in unpack() my $test_path = $wanted_path . '._'; - for my $i ('', 1..999) + for my $i ('', 1..99999) { # All our mime detectors work on file contents, rather than on suffixes. # Thus messing with the suffix should be okay here.