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>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commit837e9e8898f3110cc6328d35ca77eda4fc630820
tree84715ee05b4b4172e035740a5b21921850716ff9
parente73ef454e89dcce85fbc8c12ccb5c6b73c7a343c
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>
(cherry picked from commit 2a0f23b9d647ad84e0351b43ca4b552add00c8dc)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/sbgdec.c