Commit Graph

164 Commits

Author SHA1 Message Date
Yaakov Selkowitz
fb21de2186 Fix build with -march=x86-64-v3
While it hasn't been necessary for x86_64 baseline, setting
-march=x86-64-v3 (as in ELN) triggers test failures in
gdimagecopyresampled/bug00201 and gdimagegrayscale/basic. Adding
-ffp-contract=off as on most other arches avoids that.
2023-06-28 16:17:43 -04:00
Filip Janus
f6d849bb15 Fix licence to GD https://spdx.org/licenses/GD.html 2023-03-06 10:03:17 +01:00
Filip Janus
3a56a132c6 migrated to SPDX license 2023-03-06 09:39:32 +01:00
Sandro Mani
d5f9f168fc Rebuild (libimagequant) 2023-03-04 06:22:26 +01:00
Fedora Release Engineering
3de2885b1f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 04:28:55 +00:00
Kalev Lember
7218bb5984 Rebuild for new libavif 2022-12-01 18:07:01 +01:00
Robert-André Mauchin
d027ecf8df Rebuild for new libavif 2022-10-23 21:21:59 +02:00
Robert-André Mauchin
7d55f74d25 Rebuild for new libavif 2022-10-23 19:59:25 +02:00
Fedora Release Engineering
9b3b0202ea Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 04:14:05 +00:00
Robert-André Mauchin
d33cb816a6 Rebuild for new libavif 2022-06-22 16:38:43 +02:00
Fedora Release Engineering
8606558b1a - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 04:01:44 +00:00
Robert-André Mauchin
108109b5e0 Rebuild for libavif soname bump 2021-11-29 17:55:04 +01:00
Remi Collet
b94a8608fa fix date 2021-11-19 09:10:47 +01:00
Remi Collet
0e79f9e82b disable libraqm usage, see #2022957 2021-11-19 09:09:33 +01:00
Paul Howarth
73bca05a7e Explicitly enable gd/gd2 formats, wanted by perl bindings (#2005916) 2021-09-20 14:29:33 +01:00
Remi Collet
e8921493d7 all tests pass now 2021-09-13 15:39:17 +02:00
Remi Collet
d5127de01f Workaround to https://github.com/libgd/libgd/issues/763 2021-09-13 15:28:11 +02:00
Remi Collet
929b9853b0 update to 2.3.3
open https://github.com/libgd/libgd/pull/766 missing macros
open https://github.com/libgd/libgd/pull/767 missing headers
2021-09-13 15:21:00 +02:00
Florian Weimer
d1b1741b85 Rebuild again for libavif soname bump 2021-07-27 19:14:28 +02:00
Robert-André Mauchin
87692e31f6 Rebuild for libavif soname bump 2021-07-22 08:53:28 +02:00
Fedora Release Engineering
9ee1cda69e - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 23:53:31 +00:00
Robert-André Mauchin
36135175c4 Rebuild for libavif soname bump 2021-07-19 22:39:29 +02:00
Robert-André Mauchin
5bdcbb1ca5 Rebuild for libavif soname bump 2021-05-23 20:40:52 +02:00
Robert-André Mauchin
d79d40c918 Rebuild for libavif soname bump 2021-03-29 23:25:31 +02:00
Filip Januš
b81dacf966 Add condition if fedora for packages not available in RHEL 2021-03-18 09:28:31 +01:00
Remi Collet
3147fefdfd enable avif support
use bcond
2021-03-08 15:21:47 +01:00
Ondrej Dubaj
ed50b51c04 rebase to version 2.3.2 2021-03-08 08:46:53 +01:00
Filip Januš
0d13b891d6 Upstream released new version 2021-02-04 09:26:01 +01:00
Fedora Release Engineering
974781a418 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 06:27:05 +00:00
Tom Stellard
9c9e4af184 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-18 23:09:31 +00:00
Fedora Release Engineering
f186cb693f - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 18:21:49 +00:00
Remi Collet
e869ce049e fix gdImageStringFT() fails for empty strings
https://github.com/libgd/libgd/issues/615
2020-07-15 10:10:25 +02:00
Remi Collet
7479fbab78 add missing BR on perl(FindBin) 2020-03-24 10:15:12 +01:00
Remi Collet
28c4276c70 update to 2.3.0
add dependency on libraqm
remove gdlib-config
2020-03-24 10:04:07 +01:00
Filip Januš
d7d041cd25 Add patch(gd-2.2.5-null-pointer.patch) - fix Null pointer reference in gdImageClone (gdImagePtr src)
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1599032
2020-01-31 09:31:42 +01:00
Fedora Release Engineering
1f04fea86e - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 19:41:50 +00:00
Ondrej Dubaj
dc2735f5a8 Potential double-free in gdImage*Ptr()
Whenever `gdImage*Ptr()` calls `gdImage*Ctx()` and the latter fails, we
must not call `gdDPExtractData()`; otherwise a double-free would
happen.  Since `gdImage*Ctx()` are void functions, and we can't change
that for BC reasons, we're introducing static helpers which are used
internally.

We're adding a regression test for `gdImageJpegPtr()`, but not for
`gdImageGifPtr()` and `gdImageWbmpPtr()` since we don't know how to
trigger failure of the respective `gdImage*Ctx()` calls.

This potential security issue has been reported by Solmaz Salimi (aka.
Rooney).
2019-11-01 09:21:22 +01:00
Ondrej Dubaj
11a42338bd Fixed heap based buffer overflow in gd_color_match.c:gdImageColorMatch() in libgd as used in imagecolormatch() 2019-11-01 09:19:30 +01:00
Fedora Release Engineering
25560c12f9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 01:36:12 +00:00
Fedora Release Engineering
63c4b6d2fc - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 20:41:00 +00:00
Igor Gnatenko
e3e957b2a7 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:02 +01:00
Igor Gnatenko
ce2beac955
Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-22 18:39:01 +01:00
Marek Skalický
88a1fee47a
Add missing requires to libimagequent-devel 2018-09-07 12:50:21 +02:00
Marek Skalický
1c371f67ec
Use libimagequant library (RHBZ#1468338) 2018-08-30 13:41:17 +02:00
Marek Skalický
db74b09ab2
Check return value in gdImageBmpPtr to avoid double free (CVE-2018-1000222)
Don't mark gdimagegrayscale/basic test as failing.
2018-08-30 11:04:26 +02:00
Fedora Release Engineering
239e837e28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 01:12:18 +00:00
Marek Skalický
6d559884cf Fix CVE-2018-5711 - Potential infinite loop in gdImageCreateFromGifCtx 2018-03-26 12:49:23 +02:00
Fedora Release Engineering
aeaa355fc4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 10:43:06 +00:00
Remi Collet
8d6bbc8e0d add libimagequant stuff (disabled for now) 2017-08-30 16:31:08 +02:00
Remi Collet
49b4f7faf0 Update to 2.2.5
fix double-free in gdImagePngPtr(). CVE-2017-6362
fix buffer over-read into uninitialized memory. CVE-2017-7890
2017-08-30 16:13:52 +02:00