Commit Graph

846 Commits

Author SHA1 Message Date
f3de2e77c1 jxl: adjust metadata size limits
Previously there was no limit for uncompressed metadata,
but when compressed metadata required buffer larger than 4MB,
image decoding stopped.

Now the plugin discards/skips metadata boxes larger than 8MB
without stopping image decoding.
If size of compressed box is above 8MB,
we do not attempt to decompress it.
File with compressed metadata could be rejected only in rare cases
when the decompression buffer grows above 32MB (four times 8M).
2026-02-13 15:44:39 +01:00
1ef779f370 RGB: fix a possible exception on the new 2026-02-12 13:42:58 +01:00
169a874cba GIT_SILENT: Bump kf ecm_set_disabled_deprecation_versions. Make sure that it compiles fine without kf 6.23 deprecated methods 2026-02-10 07:52:45 +01:00
ebf77ccdf5 TGA: fix Undefined-shift 2026-02-09 23:02:06 +00:00
359cb039d2 PSD: improve conversion sanity checks 2026-02-09 22:50:51 +00:00
f4b91d8a54 IFF: fix compilation warnings 2026-02-09 22:46:04 +00:00
263b5a88e2 ANI: check for array allocation size 2026-02-09 08:41:40 +01:00
8d07f7db1b Update version to 6.24.0 2026-02-06 13:31:01 +01:00
1c2210c100 Update dependency version to 6.23.0 v6.23.0-rc1 v6.23.0 2026-02-06 13:01:56 +01:00
b7b438f903 Fix oss-fuzz AFL build (again) 2026-02-03 14:35:56 +05:30
336b8906aa Fix OSS-Fuzz AFL builds 2026-02-02 23:05:09 +00:00
2c8a1ad6ff GIT_SILENT anitest: Fix typo
text -> test
2026-01-30 17:36:12 +01:00
e0f1ba640a IFF: add uncompressed RGFX support 2026-01-27 13:58:01 +01:00
32773e5f0c IFF: add CD-i Rle7 support 2026-01-20 21:17:08 +00:00
2410e45614 Decode Atari ST VDAT chunks 2026-01-20 10:20:32 +01:00
99e4223393 IFF: add support for CD-i YUVS chunk (and minor code improvements) 2026-01-15 16:53:50 +01:00
8224c0099d Add support for CD-I IFF images 2026-01-14 16:53:19 +01:00
8d7fb2c3fd Add JXL testfile which previously triggered crash 2026-01-11 15:25:03 +01:00
3353809906 jxl: fix crash on lossy gray images
There was a rare crash during decoding of some lossy gray images.
Problem was reported in https://github.com/libjxl/libjxl/issues/4549
This is a workaround which avoids JxlDecoderSetCms call.
2026-01-11 15:03:06 +01:00
abf4d32858 Add gray AVIF files with various transfer functions 2026-01-10 20:41:52 +00:00
6b1c52c55c avif: Improved color profiles support 2026-01-10 20:41:52 +00:00
e644ab997f GIT_SILENT Upgrade CMake version requirement to 3.27.
See https://community.kde.org/Frameworks/Policies
2026-01-10 00:13:59 +01:00
1fb3363e7b Update version to 6.23.0 2026-01-02 18:59:54 +01:00
19df8b03a8 Update dependency version to 6.22.0 v6.22.0-rc1 v6.22.0 2026-01-02 18:32:32 +01:00
3f1ee9f9d1 Add YCgCo-Re AVIF test
Disable AVIF read tests for libavif below 1.2.0,
where YCgCo-Re decoding is expected to fail.
2025-12-27 21:35:25 +01:00
8c9a7e88e5 avif: YCgCo-Re decoding fix 2025-12-26 00:47:46 +00:00
30308f3541 HEIF tests skipped using kde-ci.yml 2025-12-24 17:56:44 +01:00
af4597f796 GIT_SILENT: Bump qt ecm_set_disabled_deprecation_versions. Make sure that it compiles fine without qt 6.11 deprecated methods 2025-12-24 06:57:32 +01:00
b8b9849268 GIT_SILENT: Bump kf ecm_set_disabled_deprecation_versions. Make sure that it compiles fine without kf 6.21 deprecated methods 2025-12-18 22:07:02 +01:00
db1cb8de1f Add allocation limit test (0/256 MiB) 2025-12-09 15:55:35 +01:00
956b86c4de allocationLimit = 0 means no limit 2025-12-09 01:06:10 +01:00
282c277204 Update version to 6.22.0 2025-12-05 15:14:46 +01:00
237f25fd20 Update dependency version to 6.21.0 v6.21.0-rc1 v6.21.0 2025-12-05 14:07:10 +01:00
5140567853 Fix various typos in the codebase
Fixes mostly source documentation, comments, and some user-facing typos.
Found via `codespell -q 3 -S "*.eps,*.raw" -L ahd,siz,widthn`
2025-12-05 10:41:17 +00:00
72a809bcfd XCF: initialize tiles and buffers 2025-11-22 12:45:46 +01:00
731ac375bb HDR: fix uninitialized buffer 2025-11-22 09:41:25 +01:00
8061500b79 PSD: add support for GrayA (8/16/32 bit) and Gray 32 bit 2025-11-21 06:24:53 +01:00
472ff92b96 PSD: fix use of uninitialized tmp image 2025-11-21 01:21:18 +00:00
847510f109 EXR: fix of uninitialized RGB read buffer 2025-11-20 07:36:49 +01:00
a8ad7be1cd RGB: fix Use-of-uninitialized-value 2025-11-19 11:05:36 +00:00
7202e77c74 HDR: readHeader() sanity checks 2025-11-18 16:56:46 +01:00
379c3c1738 PSD: return error if a complete line is read/decompressed 2025-11-17 14:38:07 +01:00
6519d2930e Update version to 6.21.0 2025-11-14 18:25:25 +01:00
ffcfa49f13 Update dependency version to 6.20.0 v6.20.0-rc1 v6.20.0 2025-11-07 19:26:04 +01:00
d3d4bea2f1 PSD: limit memory usage on corrupted files 2025-11-07 15:36:31 +01:00
cfbeb397a8 Fix assert on broken data
Change the isnan test to !isfinite. This way we include infinite numbers
too as not accepted
2025-11-05 23:16:03 +01:00
1c6ce2437e PSD: minor fixes while reading Image resource Section 2025-11-03 08:27:17 +01:00
3d9f1c4e9e GIT_SILENT: Bump kf ecm_set_disabled_deprecation_versions. Make sure that it compiles fine without kf 6.19 deprecated methods 2025-11-02 16:07:02 +01:00
e7d01c286f IFF: fix crash on malformed files 2025-10-31 09:07:40 +01:00
dfda863841 iff: Fix crash on malformed files
oss-fuzz/455510771
2025-10-28 00:50:06 +01:00