History log of /PHP-7.4/ext/date/tests/bug78984.phpt (Results 1 – 1 of 1)
Revision Date Author Comments
# fac3fbcb 19-Aug-2021 Christoph M. Becker

Fix OOB read due to timezone_open() with 5 digit offset

This has been reported as bug #78984, and is generally and properly
fixed as of timelib 2020.3 (PHP-8.0). However, it is not fixe

Fix OOB read due to timezone_open() with 5 digit offset

This has been reported as bug #78984, and is generally and properly
fixed as of timelib 2020.3 (PHP-8.0). However, it is not fixed in
PHP-7.4, where the test results in an OOB read, and an unterminated
C string when calling `::getName()`. Therefore, we apply a minimal
fix which just avoids this dangerous behavior.

show more ...