From: Bishop Bettini Date: Mon, 8 Jan 2018 01:58:02 +0000 (-0500) Subject: Add test for bug #66960 X-Git-Tag: php-7.3.0alpha1~635 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb7387275f1ff3c0616f6819cbfb7ebe5fa5d407;p=php Add test for bug #66960 --- diff --git a/ext/phar/tests/bug66960.phpt b/ext/phar/tests/bug66960.phpt new file mode 100644 index 0000000000..0d2ffa6df0 --- /dev/null +++ b/ext/phar/tests/bug66960.phpt @@ -0,0 +1,24 @@ +--TEST-- +Bug #66960 phar long filename crash +--SKIPIF-- + +--INI-- +phar.readonly = 0 +memory_limit = -1 +--FILE-- + +--CLEAN-- +$file = __DIR__ . DIRECTORY_SEPARATOR . 'bug66960.phar'; +unlink($file); +--EXPECT-- +bool(false) +bool(false) +bool(false) +done