]> granicus.if.org Git - php/commit
Fix #78923: Artifacts when convoluting image with transparency
authorwillson-chen <willson.chenwx@gmail.com>
Sat, 7 Dec 2019 02:56:37 +0000 (10:56 +0800)
committerChristoph M. Becker <cmbecker69@gmx.de>
Sat, 7 Dec 2019 11:06:33 +0000 (12:06 +0100)
commitb5d2cbe02739a0c9b16e7b37ce44e71d1d657daa
tree3e0437d0be2f51ae9fdfc1deb7328517cba3edef
parent249e49092d0e7f4b38a83e59947797d4e255991f
Fix #78923: Artifacts when convoluting image with transparency

We have to properly initialize `pxl` before using it.

Fix ported from <https://github.com/libgd/libgd/pull/559>.
NEWS
ext/gd/libgd/gd_filter.c
ext/gd/tests/bug47946.phpt
ext/gd/tests/bug47946_exp.png