History log of /PHP-8.4/ext/gd/libgd/gd_interpolation.c (Results 26 – 50 of 73)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-7.2.0, php-7.1.12, l, php-7.1.12RC1, php-7.2.0RC6, php-7.0.26RC1, php-7.1.11, php-5.6.32, php-7.2.0RC5, php-7.0.25
# 22c48761 24-Oct-2017 Christoph M. Becker

Fixed bug #65148 (imagerotate may alter image dimensions)

We apply the respective patches from external libgd, work around the
still missing `gdImageClone()`, and fix the special cased r

Fixed bug #65148 (imagerotate may alter image dimensions)

We apply the respective patches from external libgd, work around the
still missing `gdImageClone()`, and fix the special cased rotation
routines according to Pierre's patch
(https://gist.github.com/pierrejoye/59d72385ed1888cf8894a7ed437235ae).

We also cater to bug73272.phpt whose result obviously changes a bit.

show more ...


Revision tags: php-7.1.11RC1, php-7.2.0RC4, php-7.0.25RC1, php-7.1.10, php-7.2.0RC3, php-7.0.24, php-7.2.0RC2, php-7.1.10RC1, php-7.0.24RC1
# e20a6b02 01-Sep-2017 Christoph M. Becker

Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)

We back-port https://github.com/libgd/libgd/commit/dd48286 even though
we cannot come up with a regression test, because

Fixed bug #75139 (libgd/gd_interpolation.c:1786: suspicious if ?)

We back-port https://github.com/libgd/libgd/commit/dd48286 even though
we cannot come up with a regression test, because the erroneous
condition appears to be impossible to trigger.

We also parenthesize the inner ternary operation to avoid confusion.

show more ...


Revision tags: php-7.1.9, php-7.2.0RC1, php-7.0.23, php-7.1.9RC1, php-7.2.0beta3, php-7.0.23RC1, php-7.1.8, php-7.2.0beta2, php-7.0.22, php-7.1.8RC1, php-7.2.0beta1, php-7.0.22RC1, php-5.6.31, php-7.0.21, php-7.1.7, php-7.2.0alpha3, php-7.1.7RC1, php-7.0.21RC1, php-7.2.0alpha2, php-7.1.6, php-7.2.0alpha1, php-7.0.20, php-7.1.6RC1, php-7.0.20RC1, php-7.1.5, php-7.0.19, php-7.0.19RC1, php-7.1.5RC1, php-7.1.4, php-7.0.18, php-7.1.4RC1, php-7.0.18RC1, php-7.1.3, php-7.0.17, php-7.1.3RC1, php-7.0.17RC1, php-7.1.2, php-7.0.16, php-7.0.16RC1, php-7.1.2RC1, php-5.6.30, php-7.0.15, php-5.6.30RC1, php-7.1.1RC1, php-7.0.15RC1, php-7.1.1, php-5.6.29, php-7.0.14, php-7.1.0, php-5.6.29RC1, php-7.0.14RC1, php-7.1.0RC6, php-5.6.28, php-7.0.13, php-5.6.28RC1, php-7.1.0RC5, php-7.0.13RC1, php-7.1.0RC4, php-5.6.27, php-7.0.12
# fc989fc6 10-Oct-2016 Christoph M. Becker

Fix #73279: Integer overflow in gdImageScaleBilinearPalette()

The color components are supposed to be in range 0..255, so we must not
cast them to `signed char`, what can be the default

Fix #73279: Integer overflow in gdImageScaleBilinearPalette()

The color components are supposed to be in range 0..255, so we must not
cast them to `signed char`, what can be the default for `char`.

Port of <https://github.com/libgd/libgd/commit/77c8d359>.

show more ...


Revision tags: php-7.1.0RC3, php-5.6.27RC1, php-7.0.12RC1, php-5.6.26, php-7.1.0RC2, php-7.0.11, php-5.6.26RC1, php-7.1.0RC1, php-7.0.11RC1, php-7.1.0beta3, php-5.6.25, php-7.0.10, php-7.1.0beta2, php-5.6.25RC1, php-7.0.10RC1
# 88838dd2 23-Jul-2016 Christoph M. Becker

Fix #68712: suspicious if-else statements


# 9fbd0c1f 23-Jul-2016 Christoph M. Becker

Fix copy&paste errors in gd_interpolation.c

According to <https://github.com/libgd/libgd/commit/f101380>.


Revision tags: php-7.1.0beta1, php-5.6.24, php-7.0.9, php-5.5.38
# 48e76aba 19-Jul-2016 Pierre Joye

improve fix #72558, free contribRow as well


# 75211491 19-Jul-2016 Pierre Joye

improve fix #72558, while (u>=0) with unsigned int will always be true


# df095150 19-Jul-2016 Pierre Joye

improve fix #72558, while (u>=0) with unsigned int will always be true


# 47d6ea63 19-Jul-2016 Stanislav Malyshev

Fix memory leak


# 928aecc0 19-Jul-2016 Pierre Joye

fix #72512, invalid read or write for palette image when invalid transparent index is used

Conflicts:
ext/gd/libgd/gd.c


# 0fbcff1b 19-Jul-2016 Pierre Joye

fix #72512, invalid read or write for palette image when invalid transparent index is used


# d1a491ac 18-Jul-2016 Stanislav Malyshev

Fix for bug #72558, Integer overflow error within _gdContributionsAlloc()


Revision tags: php-5.6.24RC1, php-7.1.0alpha3, php-7.0.9RC1, php-7.1.0alpha2, php-7.0.8, php-5.6.23, php-5.5.37
# b9ec171e 19-Jun-2016 Stanislav Malyshev

Fix bug #72407: NULL Pointer Dereference at _gdScaleVert


Revision tags: php-5.6.23RC1, php-7.0.8RC1, php-7.1.0alpha1
# f8012595 07-Jun-2016 Pierre Joye

#72337 invalid dimensions can lead to segv


Revision tags: php-5.6.22, php-5.5.36, php-7.0.7
# 9a826a3b 24-May-2016 Stanislav Malyshev

Fix memory leak in imagescale()


# 7a1aac33 23-May-2016 Stanislav Malyshev

Fixed bug #72227: imagescale out-of-bounds read

Ported from https://github.com/libgd/libgd/commit/4f65a3e4eedaffa1efcf9ee1eb08f0b504fbc31a


Revision tags: php-5.6.22RC1, php-7.0.7RC1, php-7.0.6, php-5.6.21, php-5.5.35, php-5.6.21RC1, php-7.0.6RC1, php-5.6.20, php-5.5.34, php-7.0.5, php-5.6.20RC1, php-7.0.5RC1, php-5.6.19, php-5.5.33, php-7.0.4, php-5.6.19RC1, php-7.0.4RC1, php-5.6.18, php-7.0.3, php-5.5.32, php-5.6.18RC1, php-7.0.3RC1
# aa8d3a8c 12-Jan-2016 Remi Collet

fix the fix for bug #70976 (imagerotate)


# 14e4d393 12-Jan-2016 Remi Collet

fix the fix for bug #70976 (imagerotate)


Revision tags: php-5.6.17, php-5.5.31, php-7.0.2
# 82865dda 29-Dec-2015 Stanislav Malyshev

Improve fix for bug #70976


Revision tags: php-7.0.2RC1, php-5.6.17RC1, php-7.0.1RC1
# 84b8db59 08-Dec-2015 Stanislav Malyshev

Fix bug #70976: fix boundary check on gdImageRotateInterpolated


# 2baeb167 29-Dec-2015 Stanislav Malyshev

Improve fix for bug #70976


# 4bb42234 08-Dec-2015 Stanislav Malyshev

Fix bug #70976: fix boundary check on gdImageRotateInterpolated


Revision tags: php-7.0.0, php-5.6.16, php-7.0.0RC8, php-7.0.0RC7, php-5.6.16RC1, php-5.6.15, php-7.0.0RC6, php-7.0.1, php-5.6.15RC1, php-7.0.0RC5, php-5.5.30, php-5.6.14, php-7.0.0RC4, php-5.6.14RC1, php-7.0.0RC3, php-5.6.13, php-7.0.0RC2, php-5.5.29, php-5.4.45, php-5.6.13RC1, php-7.0.0RC1, php-5.6.12, php-5.5.28, php-7.0.0beta3, php-5.4.44, php-5.6.12RC1, php-7.0.0beta2
# 2e34febb 13-Jul-2015 Christoph M. Becker

Fix #66882: imagerotate by -90 degrees truncates image by 1px

Contrary to the external libgd, the bundled libgd doesn't use optimized
rotation algorithms for negative square angles. We f

Fix #66882: imagerotate by -90 degrees truncates image by 1px

Contrary to the external libgd, the bundled libgd doesn't use optimized
rotation algorithms for negative square angles. We fix that now.

There are other improvements in gdImageRotateInterpolated() in the external
libgd. I'll leave them out for now, in the hope that we'll be able to rejoin
the two libraries rather soon.

show more ...


# 1a4722a8 13-Jul-2015 Christoph M. Becker

Fix #70064: imagescale(..., IMG_BICUBIC) leaks memory

A temporary image (tmp_im) is created with gdImageTrueColor() and freed with
gdFree() instead of gdImageDestroy(). Let's fix that.


# fa53d846 13-Jul-2015 Christoph M. Becker

Fix #69024: imagescale segfault with palette based image

imagescale(..., IMG_BICUBIC) is not supposed to work with palette images, so we
fix that by converting to true color if necessary

Fix #69024: imagescale segfault with palette based image

imagescale(..., IMG_BICUBIC) is not supposed to work with palette images, so we
fix that by converting to true color if necessary. Basically the same fix has
already been applied to the external libgd[1].

[1] <https://github.com/libgd/libgd/commit/723ea520bed3b5854df87393c687323d3930edf3>

show more ...


123