From: [EMAIL PROTECTED]
Operating system: linux redhat 6.2 SMP
PHP version: 4.0.4pl1
PHP Bug Type: GD related
Bug description: imagefill() causes segfault when x and y coords are outside image
range
imagefill() causes segfault when x and y coords are outside image range.
eg:
[pgl@redbox ~]# cat s.php
<?
Header ("Content-type: image/gif");
$im = imagecreate (500, 500);
$black = ImageColorAllocate ($im, 0, 0, 0);
$red = imagecolorallocate ($im, 255, 0, 0);
imagefill ($im, 500, 1, $red);
ImageGif ($im);
ImageDestroy ($im);
?>
[pgl@redbox ~]# php s.php
Segmentation fault (core dumped)
uname:
Linux redbox 2.2.17-14enterprise #1 SMP Mon Feb 5 18:31:31 EST 2001 i686 unknown
--
Edit Bug report at: http://bugs.php.net/?id=10504&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]