php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1412 using include() on a URL causes core dump
Submitted: 1999-05-15 04:49 UTC Modified: 1999-05-16 12:16 UTC
From: ron at squeaksoft dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.7 OS: Redhat Linux 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: ron at squeaksoft dot com
New email:
PHP Version: OS:

 

 [1999-05-15 04:49 UTC] ron at squeaksoft dot com
When I include any URL in a call to include(), it causes a core dump.  This worked fine on Redhat 5.2, but not with a clean install of Redhat 6.0.  The module was compiled identically for both systems using:  "./configure --with-mysql --with-apxs"

The following is the gdb backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x401388f3 in __regexec (preg=0xbfff4464,
    string=0x9 <Address 0x9 out of bounds>, nmatch=10, pmatch=0xbfff4414,
    eflags=0) at regex.c:5708
regex.c:5708: No such file or directory.

The script used was:

<?
include ('http://192.168.0.1/index.html');
?>

It does the same thing on all URLs I throw at it.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-16 10:23 UTC] ssb at cvs dot php dot net
This is due to the fclose() problems we are currently having
with apxs-compiled PHP on redhat 6.  On the case.

 [1999-05-16 12:16 UTC] ssb at cvs dot php dot net
Fixed in CVS.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 12 05:01:33 2025 UTC