avcodec/dnxhddec: Check dc vlc
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 3 Jan 2018 22:42:00 +0000 (23:42 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 8 Jan 2018 22:19:15 +0000 (23:19 +0100)
commitc4ead1ab27f4a00dcc7f0e6a2a2794220fd607d5
tree8fca47746ebe91b2fac6d164b48ffe731b815e7c
parent6d654eb036ce44856ca14c176baba8fb1410db32
avcodec/dnxhddec: Check dc vlc

Fixes: signed integer overflow: 1024 + 2147483640 cannot be represented in type 'int'
Fixes: 4671/clusterfuzz-testcase-minimized-6027464343027712

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b2be76c0a472b729756ed7a91225c209d0dd1d2e)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhddec.c