Bug #12853: Crash when open_file_for_scanning is adding handle to CG(open_files)
| From: | dacota at iis dot nsk dot su | Date: | Mon, 20 Aug 2001 08:19:22 +0000 |
| Subject: | Bug #12853: Crash when open_file_for_scanning is adding handle to CG(open_files) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-63811@lists.php.net to get a copy of this message | ||
From: dacota@iis.nsk.su
Operating system: Windows NT 4.0 SP5
PHP version: 4.0CVS-2001-08-20
PHP Bug Type: Reproducible crash
Bug description: Crash when open_file_for_scanning is adding handle to CG(open_files)
Apache/1.3.19 (Win32) PHP/4.0.7-dev rus/PL30.4
Win32 TS Debug build, only compiled-in modules.
any php scripts (i.e. <? php_info(); ?>)
send_php:
if (AP(in_request)) {
zend_file_handle fh;
fh.filename = r->filename;
fh.opened_path = NULL;
fh.free_filename = 0;
fh.type = ZEND_HANDLE_FILENAME;
> zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, 1, &fh);
return OK;
}
we falling into this branch and CG struct isn't initialized since will
initialize further in this function.
--
Edit bug report at: http://bugs.php.net/?id=12853&edit=1