ffmpeg/libswscale
Michael Niedermayer 1330a73cca
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>
2024-05-06 03:00:40 +02:00
..
aarch64
arm
loongarch swscale: [LA] Optimize swscale funcs in input.c 2024-04-11 23:53:59 +02:00
ppc swscale/ppc/swscale_ppc_template: Reindent after the previous commit 2024-04-04 16:47:21 +02:00
riscv
tests swscale/tests/swscale: Add help text 2024-02-15 23:07:44 +01:00
x86 avutil/x86util: Fix broken pre-SSE4.1 PMINSD emulation 2024-03-17 13:52:27 +01:00
Makefile
alphablend.c
bayer_template.c
gamma.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
half2float.c
hscale.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
hscale_fast_bilinear.c
input.c
libswscale.v
log2_tab.c
options.c all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
output.c swscale/output: Fix integer overflow in yuv2rgba64_full_1_c_template() 2024-05-06 03:00:40 +02:00
rgb2rgb.c
rgb2rgb.h
rgb2rgb_template.c
slice.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
swscale.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
swscale.h
swscale_internal.h swscale: [LA] Optimize range convert for yuvj420p. 2024-04-11 23:53:41 +02:00
swscale_unscaled.c
swscaleres.rc
utils.c swscale: [LA] Optimize range convert for yuvj420p. 2024-04-11 23:53:41 +02:00
version.c lib*/version: Use static_assert for static asserts 2024-03-31 00:08:42 +01:00
version.h Bump after 7.0 branch point 2024-03-27 01:04:54 +01:00
version_major.h libs: bump major version for all libraries 2024-03-07 11:29:43 -03:00
vscale.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
yuv2rgb.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00