ffmpeg/libswscale
Michael Niedermayer 6ed54900f7
swscale/output: Fix integer overflow in yuv2rgba64_full_1_c_template()
Fixes: signed integer overflow: -1082982400 + -1079364728 cannot be represented in type 'int'
Fixes: 67910/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-5329011971522560
The input is 9bit in 16bit, the fuzzer fills all 16bit thus generating "invalid" input
No overflow should happen with valid input.

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 1330a73cca)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-05-25 00:31:13 +02:00
..
aarch64 aarch64: Reindent all assembly to 8/24 column indentation 2023-10-21 23:25:54 +03:00
arm
loongarch
ppc
riscv swscale/rgb2rgb: R-V V deinterleaveBytes 2023-10-03 22:53:20 +03:00
tests
x86
Makefile
alphablend.c
bayer_template.c
gamma.c
half2float.c
hscale.c
hscale_fast_bilinear.c
input.c swscale: add GBRAP14 format support 2023-09-28 19:37:58 +02:00
libswscale.v
log2_tab.c
options.c
output.c swscale/output: Fix integer overflow in yuv2rgba64_full_1_c_template() 2024-05-25 00:31:13 +02:00
rgb2rgb.c
rgb2rgb.h
rgb2rgb_template.c
slice.c
swscale.c swscale/swscale: Check srcSliceH for bayer 2024-04-03 02:03:46 +02:00
swscale.h
swscale_internal.h
swscale_unscaled.c swscale: add GBRAP14 format support 2023-09-28 19:37:58 +02:00
swscaleres.rc
utils.c swscale/utils: Fix xInc overflow 2024-04-04 21:09:43 +02:00
version.c
version.h Bump versions prior to 6.1 2023-10-29 16:19:39 +01:00
version_major.h
vscale.c
yuv2rgb.c