avformat/lxfdec: Fix multiple integer overflows related to track_size
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Jan 2021 21:08:25 +0000 (22:08 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 3 Mar 2021 15:54:20 +0000 (16:54 +0100)
commit7819412f4468514a2bab924291d79806a569388c
tree8bf46cba81c5b538931ff4242ad66392897e37c1
parent6c5121379ac5a98688d3f62fb4820c749fb13687
avformat/lxfdec: Fix multiple integer overflows related to track_size

Fixes: signed integer overflow: 538976288 * 8 cannot be represented in type 'int'
Fixes: 26910/clusterfuzz-testcase-minimized-ffmpeg_dem_LXF_fuzzer-6634030636335104

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/lxfdec.c