php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14683 RETURNTRANSFER causes core dump
Submitted: 2001-12-24 05:01 UTC Modified: 2001-12-31 10:47 UTC
From: vinay at NOSPAM dot kryogen dot com Assigned:
Status: Closed Package: cURL related
PHP Version: 4.1.0 OS: Linux Mandrake 8.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: vinay at NOSPAM dot kryogen dot com
New email:
PHP Version: OS:

 

 [2001-12-24 05:01 UTC] vinay at NOSPAM dot kryogen dot com
If i have RETURNTRANSFER enabled, and am trying to get a page which returns absolutely nothing (due to early exit() ), i get a core dump that i can reproduce...

some valuable information:
it is a CGI version of php compiled with wddx , BCMath, track vars, discard path, ftp, and mysql .. compiled against libcurl 7.9.2

here's a backtrace:
#0  0x0806a5b1 in zif_curl_exec (ht=1, return_value=0x8189064, this_ptr=0x0,
    return_value_used=1) at curl.c:906
#1  0x4033670b in zend_assign_to_variable_reference ()
   from /panel/app/optimizer/ZendOptimizer.so
#2  0x40340325 in zend_oe () from /panel/app/optimizer/ZendOptimizer.so
#3  0x080e3953 in zend_execute_scripts (type=8, retval=0x0, file_count=3)
    at zend.c:814
#4  0x0805f485 in php_execute_script (primary_file=0xbffff7d0) at main.c:1309
#5  0x0805d66c in main (argc=2, argv=0xbffff874) at cgi_main.c:738
#6  0x401f70de in __libc_start_main () from /lib/libc.so.6

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-31 10:47 UTC] sterling@php.net
Fixed in CVS.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 13:01:28 2025 UTC