ffmpeg/libswscale
Michael Niedermayer cc9ff3d33b
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-05-04 15:57:19 +02:00
..
aarch64 all: apply linter fixes 2025-12-07 15:54:59 +00:00
arm arm: Consistently use proper interworking function returns 2024-10-10 23:56:10 +03:00
loongarch
ppc lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang 2025-03-11 00:37:35 -04:00
riscv swscale/rgb2rgb: enable R-V V deinterleaveBytes 2024-09-04 22:04:11 +03:00
tests
x86 swscale/x86/rgb2rgb: disable rgb24toyv12_mmxext for x86_64 2024-09-06 23:06:38 +02:00
alphablend.c
bayer_template.c
gamma.c all: apply linter fixes 2025-12-07 15:54:59 +00:00
half2float.c
hscale.c
hscale_fast_bilinear.c
input.c
libswscale.v
log2_tab.c
Makefile
options.c swscale/options: relax src/dst_h/v_chr_pos value range 2024-08-16 11:43:37 +02:00
output.c swscale/output: fix integer overflows in chroma in yuv2rgba64_X_c_template() 2026-05-04 15:57:19 +02:00
rgb2rgb.c
rgb2rgb.h swscale/rgb2rgb: improve chroma conversion in ff_rgb24toyv12_c 2024-09-06 23:06:32 +02:00
rgb2rgb_template.c swscale/rgb2rgb_template: fix signed shift into sign bit 2026-05-04 15:57:09 +02:00
slice.c swscale/slice: clear allocated memory in alloc_lines() 2025-01-03 18:28:42 +01:00
swscale.c swscale/swscale: Use unsigned operation to avoid undefined behavior 2024-09-19 00:10:38 +02:00
swscale.h swscale: document SWS_FULL_CHR_H_* flags 2024-08-16 11:43:37 +02:00
swscale_internal.h swscale: export ff_copyPlane so it may be used by simd code 2024-08-26 11:04:46 +02:00
swscale_unscaled.c swscale/swscale_unscaled: don't add offsets to NULL pointers 2025-09-08 02:13:10 +02:00
swscaleres.rc
utils.c swscale/utils: Check *Inc 2026-05-04 15:57:17 +02:00
version.c
version.h */version.h: bump minor versions for release/7.1 2024-09-24 17:07:30 +02:00
version_major.h
vscale.c all: apply linter fixes 2025-12-07 15:54:59 +00:00
yuv2rgb.c swscale/yuv2rgb: add yuv42{0,2}p -> gbrp unscaled colorspace converters 2024-08-18 22:26:11 +02:00