[php-src] PR #25101: Fix GH-25094: NULL dereference in SOAP get_doc_function() with missing parts
| From: | lazerg | Date: | Sat, 31 Oct 2026 17:24:26 +0000 |
| Subject: | [php-src] PR #25101: Fix GH-25094: NULL dereference in SOAP get_doc_function() with missing parts | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40149@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25101
Author: lazerg
In document style,
get_doc_function() walks the request Body elements alongside the
WSDL parts, but it never checks whether it ran out of elements. When the Body has fewer elements
than the operation declares, node becomes NULL and the next part comparison
dereferences it. Now it treats that as no match, so the request gets the same "Procedure not
present" fault as any other mismatch.
Fixes #25094