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>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commitbafb13dc0fd60f49f613bf4c52ce88b91176755c
tree2b3db28680a5e74874bf61029aad07620487b8a8
parentbcc6d409283aebc114d674ace998016d04523ce3
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