avcodec/utvideodec: Fix bytes left check in decode_frame()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 2 Feb 2018 20:44:57 +0000 (21:44 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 12 Apr 2018 22:35:15 +0000 (00:35 +0200)
commit0322f781777d4413bd57815ee9b5a7d6a0cfe716
tree616478139a2fab057ec00d7166298b57c0640a89
parent4d4656e8cd094188ec2ada7f5bd6dbba14b52dd9
avcodec/utvideodec: Fix bytes left check in decode_frame()

Fixes: out of array read
Fixes: poc-2017.avi

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