ffmpeg/libswscale
Michael Niedermayer b842218402
swscale/output: fix integer overflows in chroma in yuv2rgba64_X_c_template()
Fixes: signed integer overflow: 130489 * 16525 cannot be represented in type 'int'
Fixes: 488950053/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-4627272670969856

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 3b98e29da8)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-03-15 00:49:55 +01:00
..
aarch64 swscale/aarch64: add NEON rgb32tobgr24 and rgb24tobgr32 conversions 2026-03-04 10:30:08 +00:00
arm all: fix typos found by codespell 2025-08-03 13:48:47 +02:00
loongarch swscale/loongarch: fix LASX YUV2RGB residual for multi-row slices 2026-03-02 13:14:07 +00:00
ppc swscale/swscale_internal: Move altivec parts to ppc/ 2026-02-28 09:56:01 +01:00
riscv swscale/range_convert: saturate output instead of limiting input 2024-12-05 21:10:29 +01:00
tests swscale/format: pass SwsFormat by ref instead of by value where possible 2026-02-26 18:08:49 +00:00
vulkan swscale/vulkan: fix include order (cosmetic) 2026-03-04 12:04:12 +01:00
x86 swscale_x86/swscale_template: Remove unused macros 2026-03-07 18:06:43 +01:00
alphablend.c swscale/alphablend: don't overread alpha plane on subsampled odd size 2025-07-31 11:32:20 +00:00
bayer_template.c swscale/internal: constify SwsFunc 2024-10-07 19:51:34 +02:00
cms.c all: fix typos found by codespell 2025-08-03 13:48:47 +02:00
cms.h swscale/utils: split off format code into new file 2025-03-14 19:50:44 +01:00
csputils.c swscale/csputils: Remove unused ff_sws_matrix3x3_rmul() 2025-04-03 06:04:57 +02:00
csputils.h swscale/csputils: Remove unused ff_sws_matrix3x3_rmul() 2025-04-03 06:04:57 +02:00
format.c swscale/graph: reintroduce SwsFrame 2026-03-01 21:57:53 +00:00
format.h swscale/graph: reintroduce SwsFrame 2026-03-01 21:57:53 +00:00
gamma.c swscale: rename SwsContext to SwsInternal 2024-10-24 22:50:00 +02:00
graph.c swscale/graph: remove pointless helper 2026-03-05 23:34:56 +00:00
graph.h swscale/graph: have ff_sws_graph_add_pass() return an error code 2026-03-05 23:34:56 +00:00
half2float.c swscale/input: add rgbaf16 input support 2022-08-19 22:09:36 +02:00
hscale.c swscale/range_convert: fix mpeg ranges in yuv range conversion for non-8-bit pixel formats 2024-12-05 21:10:29 +01:00
hscale_fast_bilinear.c swscale: rename SwsContext to SwsInternal 2024-10-24 22:50:00 +02:00
input.c Revert "swscale: add support for 10/12-bit grayscale MSB pixfmts" 2025-11-06 21:46:41 +01:00
libswscale.v build: Change structure of the linker version script templates 2016-05-29 16:43:11 +02:00
log2_tab.c lsws: duplicate ff_log2_tab 2014-08-12 20:52:21 +02:00
lut3d.c swscale/lut3d: remove unused function 2025-07-22 19:56:34 +02:00
lut3d.h swscale/utils: split off format code into new file 2025-03-14 19:50:44 +01:00
Makefile swscale/ops_dispatch: split off compile/dispatch code from ops.c 2026-03-05 23:34:56 +00:00
ops.c swscale/ops: add and use ff_sws_op_list_input/output() 2026-03-05 23:34:56 +00:00
ops.h swscale/ops: add and use ff_sws_op_list_input/output() 2026-03-05 23:34:56 +00:00
ops_backend.c swscale/ops_dispatch: move on-stack mutation to ops backends 2026-03-05 23:34:56 +00:00
ops_backend.h swscale/ops_backend: allocate block storage up-front 2026-02-19 19:44:46 +00:00
ops_chain.c swscale/ops_chain: add ability to match fixed scale factor 2026-02-26 10:15:52 +00:00
ops_chain.h swscale/x86/ops: add support for optional dither indices 2026-02-26 13:09:14 +00:00
ops_dispatch.c swscale/graph: have ff_sws_graph_add_pass() return an error code 2026-03-05 23:34:56 +00:00
ops_dispatch.h swscale/ops_dispatch: split off compile/dispatch code from ops.c 2026-03-05 23:34:56 +00:00
ops_internal.h swscale/ops_dispatch: split off compile/dispatch code from ops.c 2026-03-05 23:34:56 +00:00
ops_memcpy.c swscale/ops: add SwsOpBackend.hw_format 2026-02-26 14:10:22 +01:00
ops_optimizer.c swscale/ops: add and use ff_sws_op_list_input/output() 2026-03-05 23:34:56 +00:00
ops_tmpl_common.c swscale/ops_backend: avoid UB from incorrect function signature 2026-02-26 10:15:52 +00:00
ops_tmpl_float.c swscale/ops_backend: implement support for optional dither indices 2026-02-26 13:09:14 +00:00
ops_tmpl_int.c swscale/ops_backend: allocate block storage up-front 2026-02-19 19:44:46 +00:00
options.c swscale: add SWS_UNSTABLE flag 2025-09-01 19:28:35 +02:00
output.c swscale/output: fix integer overflows in chroma in yuv2rgba64_X_c_template() 2026-03-15 00:49:55 +01:00
rgb2rgb.c swscale/rgb2rgb: Remove set-but-unused functions 2026-03-01 23:45:11 +00:00
rgb2rgb.h swscale/rgb2rgb: Remove set-but-unused functions 2026-03-01 23:45:11 +00:00
rgb2rgb_template.c swscale/rgb2rgb: Remove set-but-unused functions 2026-03-01 23:45:11 +00:00
slice.c swscale/slice: fix init of 32 bpc planes 2024-12-16 12:21:55 +01:00
swscale.c swscale: explicitly track if a context is "legacy" or not 2026-03-06 19:06:33 +01:00
swscale.h swscale/swscale: fix typos 2026-02-26 18:36:46 +00:00
swscale_internal.h swscale: explicitly track if a context is "legacy" or not 2026-03-06 19:06:33 +01:00
swscale_unscaled.c swscale/unscaled: fix rgbToRgbWrapper for YUVX 2026-02-26 10:15:52 +00:00
swscaleres.rc
utils.c swscale/utils: don't abort early in sws_freeContext() for non legacy API 2026-03-07 15:46:23 +00:00
version.c lib*/version: Use static_assert for static asserts 2024-03-31 00:08:42 +01:00
version.h Bump versions for release/8.1 2026-03-08 02:29:20 +01:00
version_major.h libs: bump major version for all libraries 2025-03-28 14:44:34 -03:00
vscale.c swscale/internal: group user-facing options together 2024-11-21 12:49:56 +01:00
yuv2rgb.c swscale/aarch64: add NEON YUV420P/YUV422P/YUVA420P to RGB conversion 2026-03-02 13:14:07 +00:00