[php-src] PR #25316: Fix GH-25303: NULL encoder dereference in to_xml_list() error message
| From: | lazerg | Date: | Sun, 08 Nov 2026 14:14:03 +0000 |
| Subject: | [php-src] PR #25316: Fix GH-25303: NULL encoder dereference in to_xml_list() error message | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40429@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25316
Author: lazerg
A union type (and a list without an item type) leaves
list_enc NULL in
to_xml_list(). When an item fails to encode, the new error message from #22706 reads
list_enc->details and dereferences NULL. It now passes NULL to
soap_type_name() in that case, which already prints "unknown".
Fixes #25303