Bug #1412: using include() on a URL causes core dump
| From: | ron at squeaksoft dot com | Date: | Sat, 15 May 1999 08:49:46 +0000 |
| Subject: | Bug #1412: using include() on a URL causes core dump | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5634@lists.php.net to get a copy of this message | ||
From: ron@squeaksoft.com
Operating system: Redhat Linux 6.0
PHP version: 3.0.7
PHP Bug Type: Reproduceable crash
Bug description: using include() on a URL causes core dump
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.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net