avoid crash by dirpath/filepath on parser error
git-svn-id: svn://svn.lighttpd.net/xcache/trunk@683 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
parent
888824c874
commit
5ae2aa9167
7
xcache.c
7
xcache.c
|
@ -1751,6 +1751,13 @@ static zend_op_array *xc_compile_file(zend_file_handle *h, int type TSRMLS_DC) /
|
|||
#ifdef ZEND_ENGINE_2_1
|
||||
php.autoglobals = NULL;
|
||||
#endif
|
||||
|
||||
#ifdef IS_UNICODE
|
||||
php.udirpath = NULL;
|
||||
php.ufilepath = NULL;
|
||||
#endif
|
||||
php.dirpath = NULL;
|
||||
|
||||
memset(&php.op_array_info, 0, sizeof(php.op_array_info));
|
||||
|
||||
zend_try {
|
||||
|
|
Loading…
Reference in New Issue