PHP 4.0 Bug #9410: php segfaults when ImageString-ed text overflows available image space

From: Date: Thu, 22 Feb 2001 20:38:42 +0000
Subject: PHP 4.0 Bug #9410: php segfaults when ImageString-ed text overflows available image space
Groups: php.dev 
Request: Send a blank email to php-dev+get-47284@lists.php.net to get a copy of this message
From: phpbugs03@smayw.nask.com Operating system: Linux 2.2.17 RedHat 6.2 PHP version: 4.0 Latest CVS (22/02/2001) PHP Bug Type: GD related Bug description: php segfaults when ImageString-ed text overflows available image space Apache child segfaults (according to main apache log, but no mention in virtual site log) when ImageString text cannot fit on the ImageCreate-d canvas. The segfault happens in: http://www.tpsa.com/text-segfault.phps (the .php is useless since all it does is segfault) but not in: http://www.tpsa.com/text-segfault-fixed.php The _only_ difference is: $ diff text-segfault.php text-segfault-fixed.php 3c3 < $im = @ImageCreate (50, 100) --- > $im = @ImageCreate (100, 100) $ Output of phpinfo(); is at http://www.tpsa.com/php.php and the CVS tree has been synced Thu Feb 22 15:31:59 EST 2001 -- Edit Bug report at: http://bugs.php.net/?id=9410&edit=1

« previous php.dev (#47284) next »