mirror of
https://github.com/bdnugget/php-src.git
synced 2026-11-28 03:15:42 +00: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().