]> granicus.if.org Git - php/commit
Fix #73159: imagegd2(): unrecognized formats may result in corrupted files
authorChristoph M. Becker <cmbecker69@gmx.de>
Sat, 24 Sep 2016 09:28:20 +0000 (11:28 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 24 Sep 2016 09:28:20 +0000 (11:28 +0200)
commit709731797c55b373329201e9d3c9221303d7faa2
tree756f5dc1d4dbe0016226587f41a852bfeac7df9e
parentc7936ead8fbe87a55e7c17f9449c2704acd810a3
Fix #73159: imagegd2(): unrecognized formats may result in corrupted files

We must not apply the format correction twice for truecolor images.
NEWS
ext/gd/libgd/gd_gd2.c
ext/gd/tests/bug73159.phpt [new file with mode: 0644]