avcodec/utvideodec: Check subsample factors
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 26 Feb 2018 02:02:48 +0000 (03:02 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Jul 2018 23:18:52 +0000 (01:18 +0200)
commite724bd1dd9efea3abb8586d6644ec07694afceae
treeb75b846b0f9b73d49368abc054f7318bb968a073
parent11d0464565d1cac24c57ad7c6822fc9db046a057
avcodec/utvideodec: Check subsample factors

Fixes: Out of array read
Fixes: heap_poc

Found-by: GwanYeong Kim <gy741.kim@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7414d0bda7763f9bd69c26c068e482ab297c1c96)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/utvideodec.c