[php-src] PR #23320: Fix Calendar::createInstance double-free of the adopted TimeZone
| From: | iliaal | Date: | Sun, 16 Aug 2026 16:26:30 +0000 |
| Subject: | [php-src] PR #23320: Fix Calendar::createInstance double-free of the adopted TimeZone | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37928@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23320
Author: iliaal
ICU 57+ Calendar::createInstance adopts the TimeZone and frees it if the calendar cannot be created.
createInstance and fromDateTime deleted that pointer again on failure.