[php-src] PHP-8.5: Merge branch 'PHP-8.4' into PHP-8.5

David Carlier <[email protected]>
Newsgroups gmane.comp.php.cvs.general
Message-ID <[email protected]>
Author: David Carlier (devnexen)
Date: 2026-07-04T17:01:25+01:00

Commit: https://github.com/php/php-src/commit/130164b088342e417a20a296aeb477e00cb7918b
Raw diff: https://github.com/php/php-src/commit/130164b088342e417a20a296aeb477e00cb7918b.diff

Merge branch 'PHP-8.4' into PHP-8.5

* PHP-8.4:
  ext/soap: backport GH-22586 fix.

Changed paths:
  M  ext/soap/soap.c


Diff:

diff --git a/ext/soap/soap.c b/ext/soap/soap.c
index 2bb49ee4c8fb..2b6a32d3265f 100644
--- a/ext/soap/soap.c
+++ b/ext/soap/soap.c
@@ -2253,6 +2253,10 @@ static bool do_request(zval *this_ptr, xmlDoc *request, const char *location, co
 		return false;
 	}
 
+	ZVAL_UNDEF(&params[0]);
+	ZVAL_UNDEF(&params[1]);
+	ZVAL_UNDEF(&params[2]);
+
 	zend_try {
 		ZVAL_STRINGL(&params[0], buf, buf_size);
 		ZVAL_STRING(&params[1], location);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.