Skip to content

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

Closed
cmb69 wants to merge 1 commit intophp:PHP-7.4from
cmb69:cmb/77322
Closed

Fix #77322: PharData::addEmptyDir('/') Possible integer overflow#6508
cmb69 wants to merge 1 commit intophp:PHP-7.4from
cmb69:cmb/77322

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented Dec 11, 2020

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

`phar_path_check()` already strips a leading slash, so we must not
attempt to strip the trailing slash from an now empty directory name.
@cmb69 cmb69 added the Bug label Dec 11, 2020
@php-pulls php-pulls closed this in a53d67c Dec 15, 2020
@cmb69 cmb69 deleted the cmb/77322 branch December 15, 2020 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants