]> git.sesse.net Git - ffmpeg/commit
avcodec/cfhd: check peak.offset
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 7 Nov 2020 23:08:35 +0000 (00:08 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 29 Jan 2021 18:36:46 +0000 (19:36 +0100)
commit386faeda5ff1924c17766248ce19528dbf90cf15
tree1a9500f132663d0684902ad2302abd8a5aee9834
parentb0f8586ca9853ab3d324ccd3c42bad4375000b0a
avcodec/cfhd: check peak.offset

Fixes: signed integer overflow: -2147483648 - 4 cannot be represented in type 'int'
Fixes: 26907/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CFHD_fuzzer-5746202330267648
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/cfhd.c