summaryrefslogtreecommitdiff
path: root/NEWS
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 /NEWS
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 'NEWS')
-rw-r--r--NEWS4
1 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 80c3cdd9c7..06781af7db 100644
--- a/NEWS
+++ b/NEWS
@@ -31,7 +31,9 @@ PHP NEWS
- Phar:
. Fixed bug #73809 (Phar Zip parse crash - mmap fail). (cmb)
- . Fixed #75102 (`PharData` says invalid checksum for valid tar). (cmb)
+ . Fixed bug #75102 (`PharData` says invalid checksum for valid tar). (cmb)
+ . Fixed bug #77322 (PharData::addEmptyDir('/') Possible integer overflow).
+ (cmb)
- PDO MySQL:
. Fixed bug #80458 (PDOStatement::fetchAll() throws for upsert queries).