1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/libswscale
Michael Niedermayer 12df2359e8
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:38 +02:00
..
aarch64 swscale: aarch64: Fix yuv2rgb with negative strides 2022-11-04 14:31:30 +02:00
arm swscale: arm: fix NEON hscale init 2020-05-15 23:33:46 +03:00
ppc lsws/ppc/yuv2rgb_altivec: Fix build in non-VSX environments 2021-02-22 23:19:21 -05:00
tests libswscale/tests: add floatimg_cmp test 2020-10-02 14:59:52 +02:00
x86 libswscale/x86/yuv2yuvX: Removes unrolling for mmx and mmxext 2021-04-03 19:43:39 +02:00
alphablend.c swscale/alphablend: Fix slice handling 2021-10-05 23:19:40 +02:00
bayer_template.c swscale: do not drop half of bits from 16bit bayer formats 2020-08-08 12:03:42 +02:00
gamma.c swscale: re-enable gamma 2015-09-04 19:00:20 -03:00
hscale_fast_bilinear.c
hscale.c avutil: Rename FF_CEIL_COMPAT to AV_CEIL_COMPAT 2016-01-27 16:36:46 +00:00
input.c swscale/input: Use more unsigned intermediates 2023-04-07 23:40:37 +02:00
libswscale.v build: Change structure of the linker version script templates 2016-05-29 16:43:11 +02:00
log2_tab.c
Makefile libswscale/tests: add floatimg_cmp test 2020-10-02 14:59:52 +02:00
options.c swscale/options: Use AV_OPT_TYPE_PIXEL_FMT 2016-11-20 13:00:22 +01:00
output.c swscale/output: Avoid undefined overflow in yuv2rgb_write_full() 2024-07-21 17:36:38 +02:00
rgb2rgb_template.c swscale/rgb2rgb_template: use shuffle macro on big-endian arches 2020-12-12 23:07:22 -05:00
rgb2rgb.c swscale: aarch64: Add a NEON implementation of interleaveBytes 2020-05-15 23:38:17 +03:00
rgb2rgb.h swscale: aarch64: Add a NEON implementation of interleaveBytes 2020-05-15 23:38:17 +03:00
slice.c swscale/slice: Fix wrong return on error 2021-09-08 21:31:50 +02:00
swscale_internal.h lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
swscale_unscaled.c lavu/mem: move the DECLARE_ALIGNED macro family to mem_internal on next+1 bump 2021-01-01 14:14:57 +01:00
swscale.c swscale/swscale: Check srcSliceH for bayer 2024-04-03 02:06:01 +02:00
swscale.h doxygen: Standardize root-level modules 2016-08-02 22:15:25 -07:00
swscaleres.rc
utils.c swscale/utils: Fix xInc overflow 2024-04-04 21:09:47 +02:00
version.h Bump Versions before release/4.4 branch 2021-03-20 01:01:12 +01:00
vscale.c swscale: make yuv2interleavedX more asm-friendly 2020-06-14 16:34:07 +01:00
yuv2rgb.c swscale/yuv2rgb: Use 64bit for brightness computation 2024-06-15 23:32:52 +02:00