ffmpeg/libswscale
Michael Niedermayer 77c7c10755
swscale/output: Avoid undefined overflow in yuv2rgb_write_full()
Fixes: signed integer overflow: -140140 * 16525 cannot be represented in type 'int'
Fixes: 68859/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-4516387130245120

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 c221c7422f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-07-21 17:36:40 +02:00
..
aarch64 swscale: aarch64: Fix yuv2rgb with negative strides 2022-11-04 14:32:34 +02:00
arm
ppc
tests
x86 swscale/x86/swscale: Fix undefined left shifts of negative numbers 2020-05-20 03:42:42 +02:00
Makefile
alphablend.c swscale/alphablend: Fix slice handling 2021-10-06 13:59:34 +02:00
bayer_template.c
gamma.c
hscale.c
hscale_fast_bilinear.c
input.c swscale/input: Use more unsigned intermediates 2023-04-21 01:55:09 +02:00
libswscale.v
log2_tab.c
options.c
output.c swscale/output: Avoid undefined overflow in yuv2rgb_write_full() 2024-07-21 17:36:40 +02:00
rgb2rgb.c
rgb2rgb.h
rgb2rgb_template.c
slice.c swscale/slice: Fix wrong return on error 2021-10-06 13:54:16 +02:00
swscale.c swscale/swscale: Check srcSliceH for bayer 2024-04-14 22:12:43 +02:00
swscale.h
swscale_internal.h
swscale_unscaled.c
swscaleres.rc
utils.c swscale/utils: Fix xInc overflow 2024-04-14 22:12:50 +02:00
version.h
vscale.c
yuv2rgb.c swscale/yuv2rgb: Use 64bit for brightness computation 2024-06-13 18:30:08 +02:00