mirror of
https://github.com/php/php-src.git
synced 2024-11-25 02:44:58 +08:00
Fixed crash on recursive error handler invocation
This commit is contained in:
parent
13879d1d13
commit
f406858cc9
@ -2111,7 +2111,7 @@ static void soap_error_handler(int error_num, const char *error_filename, const
|
||||
_old_http_response_code = SG(sapi_headers).http_response_code;
|
||||
_old_http_status_line = SG(sapi_headers).http_status_line;
|
||||
|
||||
if (!SOAP_GLOBAL(use_soap_error_handler)) {
|
||||
if (!SOAP_GLOBAL(use_soap_error_handler) || !EG(objects_store).object_buckets) {
|
||||
call_old_error_handler(error_num, error_filename, error_lineno, format, args);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user