From:             [EMAIL PROTECTED]
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



-- 
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]

Reply via email to