php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5340 apache segfaults when calling gzopen()
Submitted: 2000-07-03 13:25 UTC Modified: 2000-07-24 23:20 UTC
From: ariel at quiver dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Latest CVS (03/07/2000) OS: Linux Red-Hat 6.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ariel at quiver dot com
New email:
PHP Version: OS:

 

 [2000-07-03 13:25 UTC] ariel at quiver dot com
PHP 4.0.1 (also 4.0.1 pl2) causes Apache 1.3.6 to crash with a segmentation fault when the following call is made in a script:

$fp = gzopen("tempfile","w");

Php was compiled with:
db mysql oci8 oracle pcre posix session standard xml zlib

Core was generated by `/www/bin/httpd -DSSL'.
Program terminated with signal 11, Segmentation fault.
#0  0x4000785c in ?? ()
(gdb) bt
#0  0x4000785c in ?? ()
#1  0x40009cfa in ?? ()
#2  0x40009e70 in ?? ()
#3  0x815ce85 in ap_child_terminate ()
#4  0x815d658 in ap_child_terminate ()
#5  0x815d9e8 in main ()
#6  0x815df4c in main ()
#7  0x815e57c in ap_each_byterange ()
#8  0x40475cb3 in ?? ()

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-24 23:20 UTC] waldschrott@php.net
should be fixed in CVS, please verify and have look at bug 5429
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Jun 27 11:00:01 2026 UTC