On Thu, 3 Apr 2003, Sascha Schumann wrote: > sas Thu Apr 3 14:18:58 2003 EDT > > Modified files: > /php4/ext/gd gd.c > Log: > Fix segfaults in imagecreate/imagecreatetruecolor
Can we please stick to using php_error_docref and try to keep the descriptions in the same format (ie. with a capital and a point)? > + if (Z_LVAL_PP(x_size) <= 0 > + || Z_LVAL_PP(y_size) <= 0) { > + php_error(E_WARNING, "invalid image dimensions"); > + RETURN_FALSE; > + } > + Derick -- "my other box is your windows PC" ------------------------------------------------------------------------- Derick Rethans http://derickrethans.nl/ PHP Magazine - PHP Magazine for Professionals http://php-mag.net/ ------------------------------------------------------------------------- -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php