]> granicus.if.org Git - php/commit
Fix #77269: Potential unsigned underflow in gdImageScale
authorChristoph M. Becker <cmbecker69@gmx.de>
Wed, 12 Dec 2018 15:00:59 +0000 (16:00 +0100)
committerStanislav Malyshev <stas@php.net>
Sun, 6 Jan 2019 19:33:38 +0000 (11:33 -0800)
commita918020c03880e12ac9f38e11a4a3789491a5f85
tree905acc72188f7aa4375b791a531ad6293e150541
parent428d8164ffcf6f75a6cc9d4056e54bfd450dac03
Fix #77269: Potential unsigned underflow in gdImageScale

Belatedly, we're porting the respective upstream patch[1].

[1] <https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35>
ext/gd/libgd/gd_interpolation.c
ext/gd/tests/bug77269.phpt [new file with mode: 0644]