Test: /ext/phar/tests/bug71488.phpt - Version 7.1.27-dev        

Security #71488 Stack overflow when decompressing tar archives
Submitted: 2016-01-31 19:58:21 Modified: 2016-03-10 21:12:29
From: hji Assigned: stas
Status: Closed Package: PHAR related
PHP Version: 5.5.31 OS:

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

Count Diff
1 (50%)
001+ Fatal error: Uncaught BadMethodCallException: tar-based phar "/home/travis/build/smalyshev/php-src/ext/phar/tests/bug71488.test" cannot be created, link "linkname...linkname...linkname...linkname...linkname...linkname...linkname...linkname...linkname...l" is too long for format in %s/bug71488.php:3
001- DONE
002+ Stack trace:
003+ #0 %s/bug71488.php(3): PharData->decompress('test')
004+ #1 {main}
005+ thrown in %s/bug71488.php on line 3
1 (50%)
001+ Fatal error: Uncaught BadMethodCallException: tar-based phar "/home/travis/build/smalyshev/php-src/ext/phar/tests/bug71488.test" cannot be created, link "linkname...linkname...linkname...linkname...linkname...linkname...linkname...linkname...linkname...l" is too long for format in %s/bug71488.php:3
001- DONE
002+ Stack trace:
003+ #0 %s/bug71488.php(3): PharData->decompress('test')
004+ #1 {main}
005+ thrown in %s/bug71488.php on line 3
006+ /home/travis/build/smalyshev/php-src/Zend/zend_hash.c(1501) : ht=0x7f84a3077648 is already destroyed