PHP 4.0 Bug #2214: php 4 cgi core dumps with -c flag
| From: | danny dot heijl at cevi dot be | Date: | Thu, 02 Sep 1999 07:47:13 +0000 |
| Subject: | PHP 4.0 Bug #2214: php 4 cgi core dumps with -c flag | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-10433@lists.php.net to get a copy of this message | ||
From: danny.heijl@cevi.be
Operating system: RH Linux 5.2
PHP version: 4.0 Latest CVS (02/09/1999)
PHP Bug Type: Reproduceable crash
Bug description: php 4 cgi core dumps with -c flag
The following command :
./php -c . -v
will core dump in strdup :
....snip....
#0 0x400cc5cd in __strdup (s=0x0) at strdup.c:28
strdup.c:28: No such file or directory.
(gdb) bt
#0 0x400cc5cd in __strdup (s=0x0) at strdup.c:28
#1 0x806f623 in main (argc=4, argv=0xbffffc28) at cgi_main.c:361
Danny