[php-src] PR #22991: ext/soap: to_zval_array() native stack overflow on cyclic encoded ref…
| From: | devnexen | Date: | Sat, 01 Aug 2026 16:33:24 +0000 |
| Subject: | [php-src] PR #22991: ext/soap: to_zval_array() native stack overflow on cyclic encoded ref… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-37442@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22991
Author: devnexen
…erences.
Fix #22984
The array and apache Map decoders never registered the node being decoded, unlike
to_zval_object_ex(), so a child href or enc:ref pointing back at an enclosing array recursed until
the native stack was exhausted. An empty holder is now registered before the children are converted,
and replaced by the completed value afterwards.