File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,9 @@ PHP NEWS
2020 . Fixed bug GH-18597 (Heap-buffer-overflow in zend_alloc.c when assigning
2121 string with UTF-8 bytes). (nielsdos)
2222
23+ - Soap:
24+ . Fix memory leaks in php_http.c when call_user_function() fails. (nielsdos)
25+
232606 Jun 2025, PHP 8.4.8
2427
2528- Core:
Original file line number Diff line number Diff line change @@ -411,6 +411,7 @@ int make_http_soap_request(zval *this_ptr,
411411 } else {
412412 zval_ptr_dtor (& params [0 ]);
413413 zval_ptr_dtor (& func );
414+ zval_ptr_dtor (& retval );
414415 if (request != buf ) {
415416 zend_string_release_ex (request , 0 );
416417 }
@@ -1329,6 +1330,7 @@ int make_http_soap_request(zval *this_ptr,
13291330 } else {
13301331 zval_ptr_dtor (& params [0 ]);
13311332 zval_ptr_dtor (& func );
1333+ zval_ptr_dtor (& retval );
13321334 efree (content_encoding );
13331335 zend_string_release_ex (http_headers , 0 );
13341336 zend_string_release_ex (http_body , 0 );
You can’t perform that action at this time.
0 commit comments