mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
If a require() dies, we must bail out (since it corrupts an existing op_array
This commit is contained in:
parent
53f98a66cf
commit
b9fb0b8e4d
@ -5,6 +5,7 @@ AC_INIT(zend.c)
|
||||
AM_INIT_AUTOMAKE(zend, 0.80A)
|
||||
AM_CONFIG_HEADER(zend_config.h)
|
||||
AM_SANITY_CHECK
|
||||
AM_MAINTAINER_MODE
|
||||
ZEND_VERSION=$VERSION
|
||||
|
||||
dnl We want this one before the checks, so the checks can modify CFLAGS.
|
||||
|
@ -411,7 +411,7 @@ int require_file(zend_file_handle *file_handle CLS_DC)
|
||||
return FAILURE;
|
||||
}
|
||||
if (zendparse(CLS_C)==1) {
|
||||
CG(unclean_shutdown) = 1;
|
||||
zend_bailout();
|
||||
}
|
||||
zend_close_file_handle(file_handle);
|
||||
restore_lexical_state(&original_lex_state CLS_CC);
|
||||
|
Loading…
Reference in New Issue
Block a user