Re: Re: Bug #14063: unset($array[]) causes apache 1.3.20 to coredump
| From: | Derick Rethans | Date: | Thu, 15 Nov 2001 07:22:38 +0000 |
| Subject: | Re: 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-70517@lists.php.net to get a copy of this message | ||
Hello,
On Thu, 15 Nov 2001, Yasuo Ohgaki wrote:
> Suggested fix.
This fixes the symtom, not the problem....
Derick
>
> Index: zend_execute.c
> ===================================================================
> RCS file: /repository/Zend/zend_execute.c,v
> retrieving revision 1.282.2.3
> diff -u -r1.282.2.3 zend_execute.c
> --- zend_execute.c 2001/08/30 12:06:50 1.282.2.3
> +++ zend_execute.c 2001/11/15 00:20:47
> @@ -2197,7 +2197,7 @@
> ht
> = NULL;
> break;
> }
> - if (ht) {
> + if (ht && offset)
> {
> switch
> (offset->type) {
>
> case IS_DOUBLE:
>
> case IS_RESOURCE:
>
>
>
>
>
>
>
> ---
> Yasuo Ohgaki
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
Derick Rethans
---------------------------------------------------------------------
PHP: Scripting the Web - www.php.net - derick@php.net
SRM: Site Resource Manager - www.vl-srm.net
---------------------------------------------------------------------