]> granicus.if.org Git - php/commit
Fix #73157: imagegd2() ignores 3rd param if 4 are given
authorChristoph M. Becker <cmbecker69@gmx.de>
Fri, 23 Sep 2016 21:23:45 +0000 (23:23 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Fri, 23 Sep 2016 21:42:34 +0000 (23:42 +0200)
commitc240978067298af3711459fac15e97d99e43bcf2
tree8d3401a2534ceb96304870d57b0f52fa7eef2124
parent9a2a45c1dfd5d693d8ae7b66cc977980339e5ba1
Fix #73157: imagegd2() ignores 3rd param if 4 are given

We must initialize `q` for *more* than three parameters, too.
NEWS
ext/gd/gd.c
ext/gd/tests/bug73157.phpt [new file with mode: 0644]