Bug #1499: crash on readfile, fpassthru and file functions
| From: | vys at renet dot ru | Date: | Mon, 07 Jun 1999 13:03:37 +0000 |
| Subject: | Bug #1499: crash on readfile, fpassthru and file functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6641@lists.php.net to get a copy of this message | ||
From: vys@renet.ru
Operating system: FreeBSD-3.2
PHP version: 3.0.8
PHP Bug Type: Reproduceable crash
Bug description: crash on readfile, fpassthru and file functions
<?php
readfile ("http://www.renet.ru/");
?>
Compiled-in modules:
http_core.c
mod_charset.c
mod_mmap_static.c
mod_env.c
mod_log_config.c
mod_mime.c
mod_negotiation.c
mod_status.c
mod_info.c
mod_include.c
mod_autoindex.c
mod_dir.c
mod_cgi.c
mod_asis.c
mod_imap.c
mod_actions.c
mod_userdir.c
mod_alias.c
mod_rewrite.c
mod_access.c
mod_auth.c
mod_auth_anon.c
mod_auth_dbm.c
mod_digest.c
mod_cern_meta.c
mod_expires.c
mod_headers.c
mod_usertrack.c
mod_unique_id.c
mod_so.c
mod_setenvif.c
mod_php3.c
[PHP_3]
engine=On
short_open_tag=On
asp_tags=Off
precision=14
y2k_compliance=Off
safe_mode=Off
safe_mode_exec_dir=/usr/local/httpd/php
highlight.string = #DD0000
highlight.comment = #FF8000
highlight.keyword = #007700
highlight.bg = #FFFFFF
highlight.default = #0000BB
highlight.html = #000000
max_execution_time=30
memory_limit=8388608
; 1 = Normal errors
; 2 = Normal warnings
; 4 = Parser errors
; 8 = Notices - warnings you can ignore, but sometimes imply a bug (e.g., using
uninitialized variable)
error_reporting=7
display_errors=On
log_errors=Off
track_errors=Off
;error_prepend_string = "<font color=ff0000>" ; string to output before an err
essage
;error_append_string = "</font>" ; string to output after an erro
ssage
error_log=/usr/local/httpd/logs/php3-error.log
warn_plus_overloading=Off
magic_quotes_gpc=On
magic_quotes_runtime=Off
track_vars=On
auto_prepend_file=
auto_append_file=
include_path=/usr/local/httpd/cgi-exec/include
doc_root=/usr/local/httpd/data
user_dir=public_html
upload_max_filesize=2097152
extension_dir=./
[Syslog]
define_syslog_variables=Off
[mail function]
;for unix only, may supply arguments as well (default is sendmail -t)
;sendmail_path=
[Debugger]
debugger.host=localhost
debugger.port=7869
debugger.enabled=False
[Logging]
; These configuration directives are used by the example logging mechanism.
; See examples/README.logging for more explanation.
;logging.method = db
;logging.directory = /path/to/log/directory
[SQL]
sql.safe_mode=Off
[MySQL]
mysql.allow_persistent=On
mysql.max_persistent=-1
mysql.max_links=-1
mysql.default_port=
mysql.default_host=localhost
mysql.default_user=web
mysql.default_password=
[bcmath]
bcmath.scale=0
[browscap]
;browscap = extra/browscap.ini
Apache version apache-1.3.6rus28.15.
it writes from error_log:
child pid 21641 exit signal Segmentation fault (11)