Test: /ext/gd/tests/bug73213.phpt - Version 7.1.4        

Bug #73213 Integer overflow in imageline() with antialiasing
Submitted: 2016-09-30 20:52:26 Modified: 2016-09-30 20:52:44
From: cmb Assigned: cmb
Status: Closed Package: GD related
PHP Version: 5.6.26 OS: 32bit,LLP64

There are 4 different diffs reported by users for this test.

Count Diff
6 (67%)
001+ Fatal error: Uncaught Error: Call to undefined function imageantialias() in %s/bug73213.php:6
002+ Stack trace:
001- The images are equal.
002- ===DONE===
003+ #0 {main}
004+ thrown in %s/bug73213.php on line 6
1 (11%)
001+ libpng warning: Application was compiled with png.h from libpng-1.6.30
002+ libpng warning: Application is running with png.c from libpng-1.2.51
001- The images are equal.
002- ===DONE===
003+
004+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library in /home/kuang/Downloads/php-7.1.4/ext/gd/tests/func.inc on line 86
005+ Segmentation fault (core dumped)
006+
007+ Termsig=11
1 (11%)
001+ libpng warning: Application was compiled with png.h from libpng-1.5.28
002+ libpng warning: Application is running with png.c from libpng-1.2.49
001- The images are equal.
002- ===DONE===
003+
004+ Warning: imagecreatefrompng(): gd-png: fatal libpng error: Incompatible libpng version in application and library in /tmp/php7/php-7.1.4/ext/gd/tests/func.inc on line 86
005+
006+ Termsig=11
1 (11%)
001+ libpng warning: Application built with libpng-1.6.29 but running with 1.5.28
002+
001- The images are equal.
002- ===DONE===
003+ Warning: imagecreatefrompng(): gd-png error: cannot allocate libpng main struct in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 86
004+
005+ Warning: imagecreatefrompng(): '/Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/bug73213.png' is not a valid PNG file in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 86
006+
007+ Warning: imageistruecolor() expects parameter 1 to be resource, boolean given in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 123
008+
009+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 126
010+
011+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 127
012+
013+ Warning: imagecreatetruecolor(): Invalid image dimensions in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 128
014+
015+ Warning: imagecopy() expects parameter 1 to be resource, boolean given in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 129
016+
017+ Warning: imagesx() expects parameter 1 to be resource, boolean given in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 88
018+
019+ Warning: imagesy() expects parameter 1 to be resource, boolean given in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 89
020+ The image size differs: expected x, got 32768x1.
021+ libpng warning: Application built with libpng-1.6.29 but running with 1.5.28
022+
023+ Warning: imagepng(): gd-png error: cannot allocate libpng main struct in /Users/oouchida/workspace/php/php-7.1.4/ext/gd/tests/func.inc on line 147
024+ ===DONE===