mirror of
https://github.com/php/php-src.git
synced 2026-04-07 08:02:49 +02:00
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.