History log of /PHP-8.0/ext/phar/tests/bug77322.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# a53d67ce 11-Dec-2020 Christoph M. Becker

Fix #77322: PharData::addEmptyDir('/') Possible integer overflow

`phar_path_check()` already strips a leading slash, so we must not
attempt to strip the trailing slash from an now empty

Fix #77322: PharData::addEmptyDir('/') Possible integer overflow

`phar_path_check()` already strips a leading slash, so we must not
attempt to strip the trailing slash from an now empty directory name.

Closes GH-6508.

show more ...