[FFmpeg-devel] [PATCH 2/2] avformat/westwood_vqa: Check chunk size
Anton Khirnov
anton at khirnov.net
Wed Sep 28 18:17:44 EEST 2022
Quoting Michael Niedermayer (2022-09-22 20:08:52)
> the type is also changed to int as it is interpreted as int in av_get_packet()
>
> Fixes: signed integer overflow: 2147483647 + 1 cannot be represented in type 'int'
> Fixes: 50993/clusterfuzz-testcase-minimized-ffmpeg_dem_WSVQA_fuzzer-6593408795279360
>
> Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
> libavformat/westwood_vqa.c | 10 ++++++----
> 1 file changed, 6 insertions(+), 4 deletions(-)
Looks good, thank you.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list