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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 10:01:31 2024 UTC