summaryrefslogtreecommitdiff
path: root/ext/json/php_json_parser.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-12-11 16:47:42 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-12-15 11:44:53 +0100
commita53d67ceac301cbd27c4f0f716d4fbcdb7db3407 (patch)
tree749d827e69f6abc2eec6d04bfbdfff5fde4f6305 /ext/json/php_json_parser.h
parentc0a1c2c5ee950b4f283945ac3c02b78dc75fa75c (diff)
downloadphp-git-a53d67ceac301cbd27c4f0f716d4fbcdb7db3407.tar.gz
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.
Diffstat (limited to 'ext/json/php_json_parser.h')
0 files changed, 0 insertions, 0 deletions