avformat/wtvdec: Avoid (32bit signed) sectors
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 12 Jun 2019 23:20:19 +0000 (01:20 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 27 Jun 2019 15:50:47 +0000 (17:50 +0200)
commitf487aa964b4e4fcdea8ae2e899d31494ede8c3cd
tree81281475a71a8681139d6a4558b922e1b2013289
parent0ccdabffd7890402a290b53ab3908bfbd4991f71
avformat/wtvdec: Avoid (32bit signed) sectors

Fixes: left shift of negative value -14614752
Fixes: 15174/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5670543606415360

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit dd357d76e5faf3ce6fc46ffb924cf30f1cb54af9)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/wtvdec.c