Test: /ext/gd/tests/bug77479.phpt - Version 7.2.18-dev        

Bug #77479 imagewbmp() segfaults with very large images
Submitted: 2019-01-17 12:58:05 Modified: 2019-01-18 20:05:44
From: cmb Assigned: cmb
Status: Closed Package: GD related
PHP Version: 7.1Git-2019-01-17 (Git) OS: *

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ mmap() failed: [12] Cannot allocate memory
002+
003+ mmap() failed: [12] Cannot allocate memory
004+
005+ Fatal error: Out of memory (allocated 778043392) (tried to allocate 40960 bytes) in %s/bug77479.php on line 2
006+ Killed
001- Warning: imagewbmp(): gd warning: product of memory allocation multiplication would exceed INT_MAX, failing operation gracefully
002- in %s on line %d
004- Warning: imagewbmp(): Could not create WBMP in %s on line %d
008+ Termsig=9
005- ===DONE===