FFmpeg/libavcodec/vvc
Michael Niedermayer 6398242bb2
avcodec/vvc/dec: Check ff_init_cabac_decoder() for failure
Fixes: signed integer overflow: 1107820800 + 1107820800 cannot be represented in type 'int'
Fixes: left shift of 1091059712 by 6 places cannot be represented in type 'int'
Fixes: 69910/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VVC_fuzzer-5162839971528704

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Nuo Mi <nuomi2021@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2024-07-02 21:57:17 +02:00
..
cabac.c avcodec: use the renamed av_zero_extend 2024-06-13 20:36:09 -03:00
cabac.h
ctu.c lavc/vvc: Validate IBC block vector 2024-06-27 20:38:34 +08:00
ctu.h avcodec/vvcdec: alf, support virtual boundaries 2024-06-25 19:32:17 +08:00
data.c
data.h
dec.c avcodec/vvc/dec: Check ff_init_cabac_decoder() for failure 2024-07-02 21:57:17 +02:00
dec.h avcodec/vvcdec: refact, unify {horizontal, vertical}_bs, {horizontal, vertical}_p, {horizontal, vertical}_q 2024-06-25 19:32:17 +08:00
dsp.c
dsp.h
dsp_template.c
filter.c avcodec/vvcdec: Fix compiling with MSVC 2022 17.8 and older 2024-06-27 11:06:23 +03:00
filter.h
filter_template.c
inter.c avcodec/vvcdec: alf, support virtual boundaries 2024-06-25 19:32:17 +08:00
inter.h
inter_template.c avcodec: use the renamed av_zero_extend 2024-06-13 20:36:09 -03:00
intra.c
intra.h
intra_template.c avcodec: use the renamed av_zero_extend 2024-06-13 20:36:09 -03:00
intra_utils.c avcodec: use the renamed av_zero_extend 2024-06-13 20:36:09 -03:00
itx_1d.c
itx_1d.h
Makefile
mvs.c lavc/vvc: Validate IBC block vector 2024-06-27 20:38:34 +08:00
mvs.h lavc/vvc: Validate IBC block vector 2024-06-27 20:38:34 +08:00
ps.c avcodec/vvcdec: ps, derive virtual boundaries 2024-06-25 19:32:17 +08:00
ps.h avcodec/vvcdec: ps, derive virtual boundaries 2024-06-25 19:32:17 +08:00
refs.c lavc/vvc: Always set flags for the current picture 2024-06-28 21:37:40 +08:00
refs.h
thread.c lavc/vvc: Don't discard return codes 2024-06-27 20:36:13 +08:00
thread.h