#
e1e1e64a |
| 23-Oct-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-16559: UBSan abort in ext/gd/libgd/gd_interpolation.c:1007 The `uchar_clamp` function was backported from old code, this backports it from new code. Closes GH-16562.
|
#
a2bdfeff |
| 06-Oct-2024 |
David Carlier |
Fix GH-16257 imagescale underflow on RGB channels. backport of https://github.com/libgd/libgd/commit/948bb0a5c2010a24227e4b44a90e8b8aa9bda8ce close GH-16257
|
#
ba8633a9 |
| 08-Mar-2024 |
Peter Kokot |
Use fabsf() and floorf() unconditionally in bundled libgd (#13624) These are available since C99 with math.h also on Windows, without requiring checking. Upstream libgd uses floorf() unc
Use fabsf() and floorf() unconditionally in bundled libgd (#13624) These are available since C99 with math.h also on Windows, without requiring checking. Upstream libgd uses floorf() unconditionally and doesn't use fabsf().
show more ...
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30, php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1 |
|
#
81f6d36c |
| 05-May-2021 |
Ben Morss |
Add avif support to ext/gd This backports avif support from upstream libgd into bundled libgd and exposes the functionality through new imagecreatefromavif() and imageavif() function
Add avif support to ext/gd This backports avif support from upstream libgd into bundled libgd and exposes the functionality through new imagecreatefromavif() and imageavif() functions. Closes GH-7026. Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
show more ...
|
#
28e7addb |
| 12-May-2021 |
Flavio Heleno |
Fix #81032: GD install is affected by external libgd installation This PR replaces the bundled libgd includes from #include <foo.h> with #include "foo.h" for gd-related headers to avoid
Fix #81032: GD install is affected by external libgd installation This PR replaces the bundled libgd includes from #include <foo.h> with #include "foo.h" for gd-related headers to avoid including headers that may be available in system directories instead of the expected local headers. Closes GH-6975.
show more ...
|
Revision tags: php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1, php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1 |
|
#
5caaf40b |
| 29-Sep-2020 |
George Peter Banyard |
Introduce pseudo-keyword ZEND_FALLTHROUGH And use it instead of comments
|
Revision tags: php-7.4.11, php-7.3.23, php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19 |
|
#
86e1f0ea |
| 05-Jun-2020 |
Christoph M. Becker |
Fix #79676: imagescale adds black border with IMG_BICUBIC We have to loop over all image pixels to avoid the black border. This is also done in external libgd in `_gdScaleOneAxis` and `
Fix #79676: imagescale adds black border with IMG_BICUBIC We have to loop over all image pixels to avoid the black border. This is also done in external libgd in `_gdScaleOneAxis` and `_gdScalePass`.
show more ...
|
Revision tags: php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17, php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28 |
|
#
ac891397 |
| 06-Feb-2020 |
George Peter Banyard |
Fix [-Wtype-limits] in bundled GD lib by using signed integers As seen in the gdImageRotateBicubicFixed() function the same setup occurs but it uses signed integers, therefore we use als
Fix [-Wtype-limits] in bundled GD lib by using signed integers As seen in the gdImageRotateBicubicFixed() function the same setup occurs but it uses signed integers, therefore we use also use signed integers in gdImageRotateBilinear() Moreover, these two functions have been removed upstream in https://github.com/libgd/libgd/commit/bd6d2e101f6f1df106d1cd2e2dc8058a5538109b therefore we should also mimic upstream and remove them... Thanks to @cmb69 for pointing it out.
show more ...
|
Revision tags: php-7.3.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1 |
|
#
03bd4333 |
| 06-Jan-2020 |
Christoph M. Becker |
Add imagegetinterpolation() While `imagesetinterpolation()` is available as of PHP 5.5.0, there is no according getter function, so users would have to track the current interpolatio
Add imagegetinterpolation() While `imagesetinterpolation()` is available as of PHP 5.5.0, there is no according getter function, so users would have to track the current interpolation method manually. To remedy this, we introduce `imagegetinterpolation()` as thin wrapper for `gdImageGetInterpolationMethod()` (which has been introduced with libgd 2.1.1), and use `im->interpolation_id` as fallback for older libgd. Since our bundled libgd does not yet have this function, we add it. We also simplify the recently introduced bug79068.phpt, where it is sufficient to check that the interpolation method has not been changed.
show more ...
|
#
be0b94c2 |
| 06-Jan-2020 |
Christoph M. Becker |
Fix hypothetical segfault in gdTransformAffineCopy() This has been reported to upstream[1], but since ext/gd never calls `gdTransformAffineCopy()` for a palette image, it is not a bug fo
Fix hypothetical segfault in gdTransformAffineCopy() This has been reported to upstream[1], but since ext/gd never calls `gdTransformAffineCopy()` for a palette image, it is not a bug for PHP. Therefore we apply the fix to master only. [1] <https://github.com/libgd/libgd/issues/586>
show more ...
|
#
4bec59f1 |
| 06-Jan-2020 |
Christoph M. Becker |
Fix #79068: gdTransformAffineCopy() changes interpolation method We port <https://github.com/libgd/libgd/commit/9088591eae437358ee5b929adf82865e37e3001e>.
|
#
2c586051 |
| 06-Jan-2020 |
Christoph M. Becker |
Fix #79067: gdTransformAffineCopy() may use unitialized values We port <https://github.com/libgd/libgd/commit/7a06c1669c563917bc48c464521e3de962ddb4e8>.
|
Revision tags: php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1, php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1 |
|
#
48abed7f |
| 09-Jul-2019 |
Peter Kokot |
Use e.g. instead of less common f.e. [ci skip]
|
Revision tags: php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3 |
|
#
9b3b07cd |
| 19-Jun-2019 |
Nikita Popov |
Suppress shift UB in gd_itofx() There doesn't seem to be a corresponding upstream fix for this.
|
Revision tags: php-7.3.7RC2, php-7.2.20RC2, php-7.4.0alpha1 |
|
#
e5411e17 |
| 11-Jun-2019 |
Nikita Popov |
Remove unused _setEdgePixel() and getPixelOverflowColorTC() functions
|
#
5c844c1d |
| 11-Jun-2019 |
Nikita Popov |
Fix fabs warning in gd_interpolation.c Matches upstream code.
|
Revision tags: php-7.3.7RC1, php-7.2.20RC1, php-7.2.19, php-7.3.6, php-7.1.30, php-7.2.19RC1, php-7.3.6RC1, php-7.1.29, php-7.2.18, php-7.3.5, php-7.2.18RC1, php-7.3.5RC1, php-7.2.17, php-7.3.4, php-7.1.28, php-7.3.4RC1, php-7.2.17RC1, php-7.1.27, php-7.3.3, php-7.2.16, php-7.3.3RC1, php-7.2.16RC1, php-7.2.15, php-7.3.2, php-7.2.15RC1, php-7.3.2RC1 |
|
#
8c21ce5b |
| 10-Jan-2019 |
Christoph M. Becker |
Fix misleading variable type We port libgd/libgd@0414bb2da0b27d90b6125bd34a3e2cfb89fd3f42.
|
#
41c3e3d8 |
| 10-Jan-2019 |
Christoph M. Becker |
Remove unused variables and functions We remove the unused variables altogether, and port libgd/libgd@f50c24e467f1f44f0ede90bc7d2d8eaadbe11094 to silence the compiler warnings.
|
#
6b4cdbaa |
| 10-Jan-2019 |
Christoph M. Becker |
Fix #73281: imagescale(…, IMG_BILINEAR_FIXED) can cause black border We port the upstream fixes for libgd/libgd#329 and libgd/libgd#224.
|
#
772b1cb2 |
| 10-Jan-2019 |
Christoph M. Becker |
Fix #77272: imagescale() may return image resource on failure `_gdScaleHoriz()` and `_gdScaleVert()` may fail, but don't signal failure since they are void functions. We change that acc
Fix #77272: imagescale() may return image resource on failure `_gdScaleHoriz()` and `_gdScaleVert()` may fail, but don't signal failure since they are void functions. We change that according to upstream libgd. We also remove the unused `Scale()` function, which doesn't exist in upstream libgd either, right away.
show more ...
|
Revision tags: php-5.6.40, php-7.1.26, php-7.3.1, php-7.2.14, php-7.2.14RC1, php-7.3.1RC1 |
|
#
dfd8237a |
| 12-Dec-2018 |
Christoph M. Becker |
Fix #77269: Potential unsigned underflow in gdImageScale Belatedly, we're porting the respective upstream patch[1]. [1] <https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dc
Fix #77269: Potential unsigned underflow in gdImageScale Belatedly, we're porting the respective upstream patch[1]. [1] <https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35>
show more ...
|
#
a918020c |
| 12-Dec-2018 |
Christoph M. Becker |
Fix #77269: Potential unsigned underflow in gdImageScale Belatedly, we're porting the respective upstream patch[1]. [1] <https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dc
Fix #77269: Potential unsigned underflow in gdImageScale Belatedly, we're porting the respective upstream patch[1]. [1] <https://github.com/libgd/libgd/commit/60bfb401ad5a4a8ae995dcd36372fe15c71e1a35>
show more ...
|
Revision tags: php-5.6.39, php-7.1.25, php-7.2.13, php-7.0.33, php-7.3.0, php-7.1.25RC1, php-7.2.13RC1, php-7.3.0RC6, php-7.1.24, php-7.2.12, php-7.3.0RC5, php-7.1.24RC1, php-7.2.12RC1, php-7.3.0RC4, php-7.1.23, php-7.2.11, php-7.3.0RC3, php-7.1.23RC1, php-7.2.11RC1, php-7.3.0RC2, php-5.6.38, php-7.1.22, php-7.3.0RC1, php-7.2.10, php-7.0.32, php-7.1.22RC1, php-7.3.0beta3, php-7.2.10RC1, php-7.1.21, php-7.2.9, php-7.3.0beta2, php-7.1.21RC1, php-7.3.0beta1, php-7.2.9RC1, php-5.6.37, php-7.1.20, php-7.3.0alpha4, php-7.0.31, php-7.2.8, php-7.1.20RC1, php-7.2.8RC1, php-7.3.0alpha3, php-7.3.0alpha2, php-7.1.19, php-7.2.7, php-7.1.19RC1, php-7.3.0alpha1, php-7.2.7RC1, php-7.1.18, php-7.2.6, php-7.2.6RC1, php-7.1.18RC1, php-5.6.36, php-7.2.5, php-7.1.17, php-7.0.30, php-7.1.17RC1, php-7.2.5RC1, php-5.6.35, php-7.0.29, php-7.2.4, php-7.1.16, php-7.1.16RC1, php-7.2.4RC1, php-7.1.15, php-5.6.34, php-7.2.3, php-7.0.28, php-7.2.3RC1, php-7.1.15RC1 |
|
#
a5f1a585 |
| 10-Feb-2018 |
Gabriel Caruso |
Removed unused variables
|
Revision tags: php-7.1.14, php-7.2.2, php-7.1.14RC1, php-7.2.2RC1, php-7.1.13, php-5.6.33, php-7.2.1, php-7.0.27 |
|
#
64002648 |
| 31-Dec-2017 |
Gabriel Caruso |
Trailing whitespaces Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com>
|
Revision tags: php-7.2.1RC1, php-7.1.13RC1, php-7.0.27RC1 |
|
#
32e3d7b9 |
| 29-Nov-2017 |
Lior Kaplan |
Define floorf if system doesn't have it (follow up for 22c48761) floorf is checked in config.m4
|