FFmpeg/libswscale
Michael Niedermayer e954f52713
swscale/output: Fix integer overflow in yuv2gbrp_full_X_c()
Fixes: signed integer overflow: 1966895953 + 210305024 cannot be represented in type 'int'
Fixes: 391921975/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-5916798905548800

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 ce538ef97a)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2025-05-15 22:27:59 +02:00
..
aarch64
arm
ppc lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments with Clang 2025-03-16 00:48:09 -04:00
tests
x86
Makefile
alphablend.c
bayer_template.c
gamma.c
hscale.c
hscale_fast_bilinear.c
input.c
libswscale.v
log2_tab.c
options.c
output.c swscale/output: Fix integer overflow in yuv2gbrp_full_X_c() 2025-05-15 22:27:59 +02:00
rgb2rgb.c
rgb2rgb.h
rgb2rgb_template.c
slice.c swscale/slice: clear allocated memory in alloc_lines() 2025-03-16 22:12:13 +01:00
swscale.c swscale/swscale: Use unsigned operation to avoid undefined behavior 2025-03-16 22:12:04 +01:00
swscale.h
swscale_internal.h
swscale_unscaled.c
swscaleres.rc
utils.c swscale/utils: Fix xInc overflow 2024-04-04 21:09:47 +02:00
version.h
vscale.c
yuv2rgb.c swscale/yuv2rgb: Use 64bit for brightness computation 2024-06-15 23:32:52 +02:00