diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2020-10-07 23:22:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2021-02-02 14:18:21 +0100 |
commit | 7bc2176c4d7eeea1062604d641d51639cf009778 (patch) | |
tree | 1c9b90cf469a9e70bb650a3279c9e8b755ee989d /libavformat/m4vdec.c | |
parent | 69d0cd7883ae861ad5359413840d597bbbd9ee32 (diff) | |
download | ffmpeg-7bc2176c4d7eeea1062604d641d51639cf009778.tar.gz |
avcodec/h264_slice: fix undefined integer overflow with POC in error concealment
Alternatively the POC could be changed to 64bit. the large values seem to be within what is allowed.
Fixes: signed integer overflow: 2147483646 + 2 cannot be represented in type 'int'
Fixes: 26076/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5711127201447936
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 182d7a74276ea70aec6d3d7bd9a1da3d327358f2)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/m4vdec.c')
0 files changed, 0 insertions, 0 deletions