mirror of
https://github.com/php/php-src.git
synced 2026-04-08 08:33:06 +02:00
The DateTimeZone constructors are not binary safe. They're parsing the timezone as string, but discard the length when calling timezone_initialize(). This patch adds a tz_len parameter and a respective check to timezone_initialize().