Skip to content

Commit 477f3f3

Browse files
committed
Merge branch 'PHP-8.5' into PHP-8.6
* PHP-8.5: ext/soap: fix use of uninitialized func in do_request() on OOM bailout
2 parents 29af2f1 + 53c7882 commit 477f3f3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ext/soap/soap.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2353,6 +2353,7 @@ static bool do_request(zval *this_ptr, xmlDoc *request, const char *location, co
23532353
return false;
23542354
}
23552355

2356+
ZVAL_UNDEF(&func);
23562357
ZVAL_UNDEF(&params[0]);
23572358
ZVAL_UNDEF(&params[1]);
23582359
ZVAL_UNDEF(&params[2]);

0 commit comments

Comments
 (0)