Bug #2447 Updated: php3_imagecreatefromgif doesn't check the return value of gdImageCreateFromGif

From: Date: Sun, 16 Jun 2002 12:59:03 +0000
Subject: Bug #2447 Updated: php3_imagecreatefromgif doesn't check the return value of gdImageCreateFromGif
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10710@lists.php.net to get a copy of this message
ID: 2447 Updated by: sander@php.net Reported By: benoit@proxad.net -Status: Open +Status: Bogus Bug Type: Reproducible Crash Operating System: Debian Linux 2.2.10 on P2 PHP Version: 3.0.12 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [1999-10-05 14:33:45] benoit@proxad.net Using 3.0.12 from Debian as a CGI In functions/gd.c -- void php3_imagecreatefromgif the function call gdImageCreateFromGif but doesn't check for its return value. If the .gif is not valid then gdImageCreateFromGif return NULL that makes the php segfault. Bye -- Benoit ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=2447&edit=1

« previous php.bugs (#10710) next »