Test: /ext/phar/tests/bug72321.phpt - Version 7.3.5        

Security #72321 invalid free in phar_extract_file()
Submitted: 2016-06-03 06:43:38 Modified: 2016-09-21 12:17:05
From: hji Assigned: stas
Status: Closed Package: PHAR related
PHP Version: 5.6.22 OS:

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Fatal error: Uncaught UnexpectedValueException: phar error: end of central directory not found in zip-based phar "/mnt/HD/HD_a2/ffp/src/php-7.3.5/ext/phar/tests/72321_1.zip" in %s/bug72321.php:4
002+ Stack trace:
003+ #0 %s/bug72321.php(4): PharData->__construct('72321_1.zip')
001- Warning: PharData::extractTo(): %s in %sbug72321.php on line %d
002- Extraction from phar "%s72321_2.zip" failed: Cannot extract "AAAAAAAAxxxxBBBBCCCCCCCCxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/b/c", could not create directory "test72321/AAAAAAAAxxxxBBBBCCCCCCCCxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/b"
003- DONE
004+ #1 {main}
005+ thrown in %s/bug72321.php on line 4