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 lavc/hevcdsp_qpel_neon: using movi.16b instead of movi.2d 2023-11-28 15:54:49 +02:00
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 riscv: test for assembler support 2023-12-08 17:21:09 +02:00
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 swscale/input: add rgbaf16 input support 2022-08-19 22:09:36 +02:00
alphablend.c swscale/alphablend: Fix slice handling 2021-10-03 20:38:29 +02:00
bayer_template.c
gamma.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
half2float.c swscale/input: add rgbaf16 input support 2022-08-19 22:09:36 +02:00
hscale.c avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
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 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 sws/rgb2rgb: RISC-V V shuffle_bytes_xxxx functions 2022-09-30 07:24:09 +02:00
rgb2rgb.h sws/rgb2rgb: RISC-V V shuffle_bytes_xxxx functions 2022-09-30 07:24:09 +02:00
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: document some missing arguments 2022-10-17 09:56:47 +02:00
swscale_internal.h swscale: [LA] Optimize range convert for yuvj420p. 2024-04-11 23:53:41 +02:00
swscale_unscaled.c swscale: add GBRAP14 format support 2023-09-28 19:37:58 +02:00
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