avcodec/dfa: Fix: runtime error: signed integer overflow: -14202 * 196877 cannot...
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 17 May 2017 23:54:43 +0000 (01:54 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 18 May 2017 02:08:31 +0000 (04:08 +0200)
commit58ac7fb9c395ab91cb321fa4c8c9e127ce8147c3
tree32722aff107f3a2a0fe4984d8a28cd56f3611895
parent3e295e633c36f601fb3dbee533d7b5dfc8c77bef
avcodec/dfa: Fix: runtime error: signed integer overflow: -14202 * 196877 cannot be represented in type 'int'

Fixes: 1657/clusterfuzz-testcase-minimized-4710000079405056

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