avcodec/cavsdec: Check sym_factor
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 May 2017 09:55:27 +0000 (11:55 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 May 2017 10:30:09 +0000 (12:30 +0200)
commit279420b5a63b3f254e4932a4afb91759fb50186a
tree9a0044d238cb198424db132f6edfcd545eeff632
parent1e42736b95065c69a7481d0cf55247024f54b660
avcodec/cavsdec: Check sym_factor

Fixes: runtime error: signed integer overflow: 25984 * 130560 cannot be represented in type 'int'

Fixes: 1404/clusterfuzz-testcase-minimized-5000441286885376

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