1
0
Fork 0

cacher: handle the case on compiler error, pass testcase bug35740.phpt

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@319 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2006-12-10 04:21:12 +00:00
parent 2cccef837d
commit 4d09e78b6c
1 changed files with 3 additions and 2 deletions

View File

@ -1257,10 +1257,11 @@ static zend_op_array *xc_compile_file(zend_file_handle *h, int type TSRMLS_DC) /
catched = 1;
} zend_end_try();
xce.data.php = &php;
if (catched) {
if (catched || !op_array) {
goto err_aftersandbox;
}
xce.data.php = &php;
}
/* }}} */
#ifdef HAVE_INODE