Skip to content

Commit f406858

Browse files
committed
Fixed crash on recursive error handler invocation
1 parent 13879d1 commit f406858

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/soap/soap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ static void soap_error_handler(int error_num, const char *error_filename, const
21112111
_old_http_response_code = SG(sapi_headers).http_response_code;
21122112
_old_http_status_line = SG(sapi_headers).http_status_line;
21132113

2114-
if (!SOAP_GLOBAL(use_soap_error_handler)) {
2114+
if (!SOAP_GLOBAL(use_soap_error_handler) || !EG(objects_store).object_buckets) {
21152115
call_old_error_handler(error_num, error_filename, error_lineno, format, args);
21162116
return;
21172117
}

0 commit comments

Comments
 (0)