Test: /ext/phar/tests/bug77322.phpt - Version 7.4.19        

Bug #77322 PharData::addEmptyDir('/') Possible integer overflow
Submitted: 2018-12-20 10:21:59 Modified: 2020-12-11 15:57:50
From: lars Assigned: cmb
Status: Closed Package: PHAR related
PHP Version: 7.1.25 OS: Linux

There is 1 diff reported by users for this test.

Count Diff
2 (100%)
001+ int(2) 002+ 001- int(1) 002- int(1) 003+ Fatal error: Uncaught BadMethodCallException: Directory / does not exist and cannot be created: phar error: unable to add new entry "" to phar "/root/buildroot/php-src-php-7.4.30/ext/phar/tests/bug77322.tar" in %s/bug77322.php:7 004+ Stack trace: 005+ #0 %s/bug77322.php(7): PharData->addEmptyDir('/') 006+ #1 {main} 007+ thrown in %s/bug77322.php on line 7