avcodec/mpeg4videodec: Check for multiple VOL headers
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 May 2017 14:01:27 +0000 (16:01 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sun, 21 May 2017 14:05:20 +0000 (16:05 +0200)
commitefeb47fd5d5cbf980e52a6d5e741c3c74b94b5e2
treee65e2df4756a37481d5fa039a030c420ff5da3e8
parentd4ee76780869c659a5d3b0815c56024ab260a81d
avcodec/mpeg4videodec: Check for multiple VOL headers

Fixes multiple: runtime error: signed integer overflow: 2147115008 + 413696 cannot be represented in type 'int'
Fixes: 1723/clusterfuzz-testcase-minimized-5309409372667904
Fixes: 1727/clusterfuzz-testcase-minimized-5900685306494976
Fixes: 1737/clusterfuzz-testcase-minimized-5922321338466304

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