]> granicus.if.org Git - php/commitdiff
- MFH: libgd #86: Fixed possible infinite loop in libgd/gd_png.c, fix test
authorPierre Joye <pajoye@php.net>
Wed, 16 May 2007 22:21:41 +0000 (22:21 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 16 May 2007 22:21:41 +0000 (22:21 +0000)
   (Reported by Xavier Roche)

ext/gd/tests/bug39780.phpt

index 3a23aa9df9504edf1819ee39df96ff37f5ff8ee3..8040b869133b50fa30dbb9bc7ae170b944a8eac1 100644 (file)
@@ -13,9 +13,9 @@ var_dump($im);
 ?>
 --EXPECTF--
 
-Warning: imagecreatefrompng(): gd-png:  fatal libpng error: IDAT: CRC error in %s on line %d
+Warning: imagecreatefrompng(): gd-png:  fatal libpng error: Read Error: truncated data in /home/pierre/cvs/php_5_2/ext/gd/tests/bug39780.php on line 3
 
-Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in %s on line %d
+Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition in /home/pierre/cvs/php_5_2/ext/gd/tests/bug39780.php on line 3
 
-Warning: imagecreatefrompng(): '%s' is not a valid PNG file in %s on line %d
+Warning: imagecreatefrompng(): '/home/pierre/cvs/php_5_2/ext/gd/tests/bug39780.png' is not a valid PNG file in /home/pierre/cvs/php_5_2/ext/gd/tests/bug39780.php on line 3
 bool(false)