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>
Tue, 27 Feb 2018 18:59:58 +0000 (19:59 +0100)
commitfbf690d79a611a8dd9df1bce4189e5bf9c05508a
treecf375f1e9a2ceea5b147748ce2ec3a6eff56ae09
parent789a12b140ba2426a1c9bb9ce31a7a4f50d0216a
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