]> git.sesse.net Git - ffmpeg/commit
avformat/nistspheredec: Check bits_per_coded_sample and channels
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 16 Jan 2021 23:07:26 +0000 (00:07 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 21 Jan 2021 19:21:32 +0000 (20:21 +0100)
commit60770a50fba0d47203d417b048b37d314918085d
tree4808fec0a5548b95685abf2bc7965a8b1a860f57
parent631ee3f8e43f95abb4af9d4c83f844ce23f25f26
avformat/nistspheredec: Check bits_per_coded_sample and channels

Fixes: signed integer overflow: 80 * 92233009 cannot be represented in type 'int'
Fixes: 26910/clusterfuzz-testcase-minimized-ffmpeg_dem_NISTSPHERE_fuzzer-6669100654919680
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/nistspheredec.c