]> granicus.if.org Git - php/commit
Fix #77479: imagewbmp() segfaults with very large images
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 19 Jan 2019 09:03:11 +0000 (10:03 +0100)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 19 Jan 2019 09:16:02 +0000 (10:16 +0100)
commit44fa0b0f311beee4bfcbdb954d61f0c9a8395a96
tree14c9c4ff4dcc9e1bf3670cdb9ff25d6dccf461e4
parentdbe7f2a41a52663659d07e5b0110e1b8dffe19e1
Fix #77479: imagewbmp() segfaults with very large images

We must not proceed working with the Wbmp structure, if it hasn't been
allocated.
NEWS
ext/gd/libgd/gd_wbmp.c
ext/gd/tests/bug77479.phpt [new file with mode: 0644]