Browse Source

Avoid crashing if the error reporting function is called after a bailout during shutdown

experimental/pre_new_hash_func
Zeev Suraski 25 years ago
parent
commit
b23d83cf6a
  1. 1
      Zend/zend.c

1
Zend/zend.c

@ -468,6 +468,7 @@ ZEND_API void zend_bailout()
ELS_FETCH();
CG(unclean_shutdown) = 1;
CG(in_compilation) = EG(in_execution) = 0;
longjmp(EG(bailout), FAILURE);
}
END_EXTERN_C()

Loading…
Cancel
Save