[php-src] PR #23673: ext/intl: intl_error_set_custom_msg() crash without an active call fr…
| From: | devnexen | Date: | Sat, 12 Sep 2026 10:03:57 +0000 |
| Subject: | [php-src] PR #23673: ext/intl: intl_error_set_custom_msg() crash without an active call fr… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-38458@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/23673
Author: devnexen
…ame.
Since 6600d0e00fc the message was unconditionally prefixed with
get_active_function_or_method_name(), which asserts zend_is_executing() and dereferences a null
EG(current_execute_data) in a release build. A UConverter subclass destroyed at request shutdown
reached it through ucnv_close(). Fall back to the unprefixed message when there is no frame.