Test: /ext/phar/tests/bug70019.phpt - Version 5.6.14-dev        

Security #70019 Files extracted from archive may be placed outside of destination directory
Submitted: 2015-07-08 09:33:00 Modified: 2015-09-09 10:01:35
From: stewie Assigned: stas
Status: Closed Package: PHAR related
PHP Version: 5.6.10 OS: Windows 7 64bit, OSX 10.10

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/home/steeno/build/php-src/ext/phar/tests/bug70019.zip"' in %s/bug70019.php:3
002+ Stack trace:
001- bool(true)
002- ===DONE===
003+ #0 %s/bug70019.php(3): PharData->__construct('/home/steeno/bu...')
004+ #1 {main}
005+ thrown in %s/bug70019.php on line 3
1 (50%)
001+ Fatal error: Uncaught exception 'UnexpectedValueException' with message 'phar error: zlib extension is required in zip-based phar "/usr/share/php-src/ext/phar/tests/bug70019.zip"' in %s/bug70019.php:3
002+ Stack trace:
001- bool(true)
002- ===DONE===
003+ #0 %s/bug70019.php(3): PharData->__construct('/usr/share/php-...')
004+ #1 {main}
005+ thrown in %s/bug70019.php on line 3