php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13803 fopen($url) crashes sometimes
Submitted: 2001-10-23 16:36 UTC Modified: 2002-06-18 18:57 UTC
From: php at awks dot org Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.6 OS: FreeBSD 4.4-stable
Private report: No CVE-ID: None
 [2001-10-23 16:36 UTC] php at awks dot org
This is the same bug as #13633 and #12748.. I just wanted 
to report that it does the same thing on FreeBSD, but 
couldn't figure out a way to add the comment to an existing 
bug.

In php.ini:
  allow_url_fopen = Off

In httpd.conf, within a VirtualHost:
  php_flag allow_url_fopen On

fopen($any_url) consistently causes segfault.

Changing php.ini to On and the problem goes away. Remove 
the line from httpd.conf, and there's no crash, but of 
course the fopen doesn't work with URLs in that case.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-24 01:15 UTC] sniper@php.net
Duplicate of #12748 which also includes gdb backtrace
and has reproduced it with latest CVS snapshot.

 [2002-06-18 18:57 UTC] sniper@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.

Can't reproduce.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 21:01:29 2024 UTC