PHP 4.0 Bug #3706: ImageArc causes core dump (patch included :-)

From: Date: Thu, 02 Mar 2000 13:16:53 +0000
Subject: PHP 4.0 Bug #3706: ImageArc causes core dump (patch included :-)
Groups: php.dev 
Request: Send a blank email to php-dev+get-16273@lists.php.net to get a copy of this message
From: oliver@billix.franken.de Operating system: linux 2.0.39 libc5 PHP version: 4.0 Latest CVS (02/03/2000) PHP Bug Type: Reproduceable crash Bug description: ImageArc causes core dump (patch included :-) ImageArc causes a core dump. Here's the fix: *** gd.c.org Tue Feb 29 23:23:35 2000 --- gd.c Thu Mar 2 14:10:56 2000 *************** *** 1103,1109 **** GDLS_FETCH(); if (ARG_COUNT(ht) != 8 || ! zend_get_parameters_ex(ht, 8, &IM, &CX, &CY, &W, &H, &ST, &E, &COL) == FAILURE) { WRONG_PARAM_COUNT; } --- 1103,1109 ---- GDLS_FETCH(); if (ARG_COUNT(ht) != 8 || ! zend_get_parameters_ex(8, &IM, &CX, &CY, &W, &H, &ST, &E, &COL) == FAILURE) { WRONG_PARAM_COUNT; }

« previous php.dev (#16273) next »