avformat/sbgdec: Fixes integer overflow in str_to_time() with hours
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 6 Jun 2019 21:20:49 +0000 (23:20 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 14 Jun 2019 19:36:39 +0000 (21:36 +0200)
commit2a0f23b9d647ad84e0351b43ca4b552add00c8dc
tree25b70e3ae8beee27ab62b4835dc0259a031a04fb
parentaa003019ab9ec5ef7e7b3ff9d6262d3472b427eb
avformat/sbgdec: Fixes integer overflow in str_to_time() with hours

Fixes: signed integer overflow: 904444 * 3600 cannot be represented in type 'int'
Fixes: 15113/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5764083346833408

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