Re: Bug #14063: unset($array[]) causes apache 1.3.20 to coredump
| From: | Yasuo Ohgaki | Date: | Thu, 15 Nov 2001 00:03:39 +0000 |
| Subject: | Re: Bug #14063: unset($array[]) causes apache 1.3.20 to coredump | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70500@lists.php.net to get a copy of this message | ||
Reproduced on 4.1.0RC2 and 4.2.0 CVS.
--
Yasuo Ohgaki
pgl@instinct.org wrote:
> From: pgl@instinct.org
> Operating system: FreeBSD 4.4-STABLE
> PHP version: 4.0CVS-2001-11-14
> PHP Bug Type: Reproducible crash
> Bug description: unset($array[]) causes apache 1.3.20 to coredump
>
> I'm not actually using version 4.0CVS-2001-11-14, but I updated 2001-11-08
> (6 days ago) so I assume it's still in the source as no bugs reports detail
> this:
>
> [mini:pgl]:~ $ php -v
> 4.2.0-dev
> [mini:pgl]:~ $ cat ./test.php
> #!/usr/local/bin/php -q
> <?
> $a = array('1', '2');
> unset($a[]);
> ?>
>
> [mini:pgl]:~ $ ./test.php
> Segmentation fault (core dumped)
>
> regards,
>
> Peter Lowe.
>