Re: [PHP4BETA] crash in latest Zend.
| From: | Thies C. Arntzen | Date: | Mon, 03 Jan 2000 19:35:59 +0000 |
| Subject: | Re: [PHP4BETA] crash in latest Zend. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-8867@lists.php.net to get a copy of this message | ||
offending code (does not reproduce the crash!) looks:
while (list($id,$fields) = each($result))
$list[ ] = $id . "#" . $fields[ $akey[ 1 ] ];
maybe it helps?
tc
On Mon, 3 Jan 2000, Thies C. Arntzen wrote:
> i cannot track it down right now, but obvious place is
>
> zend_execute.c" line 718
>
> offset = get_zval_ptr(op2, Ts, &free_op2, BP_VAR_R);
>
> if (offset->type != IS_LONG) {
>
> checking get_zval_ptr shows that it *can* return NULL on IS_UNSET so that
> offset->type will be a ZPR.
>
>
>
> regards,
> tc
>
>
>
> Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
> Digital Collections Phone +49 40 235350 Fax +49 40 23535180
> Hammerbrookstr. 93 20097 Hamburg / Germany
>
>
> --
> PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
> To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net
> For additional commands, e-mail: php4beta-help@lists.php.net
> To contact the list administrators, e-mail: php4beta-admin@lists.php.net
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany