From: Zeev Suraski Date: Wed, 13 Jun 2001 17:18:11 +0000 (+0000) Subject: Avoid crashing if the error reporting function is called after a bailout during shutdown X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~54 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b23d83cf6a16fb3fabbb2ea5f3f96b9798b78920;p=php Avoid crashing if the error reporting function is called after a bailout during shutdown --- diff --git a/Zend/zend.c b/Zend/zend.c index d5031c9bd5..f1940b283d 100644 --- a/Zend/zend.c +++ b/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()