avcodec/indeo2: check ctab
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 19 Aug 2016 11:07:14 +0000 (13:07 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 25 Aug 2016 01:29:35 +0000 (03:29 +0200)
commit77f978996bd55f8ee22ced3accb6264cbbc36859
treee874d85f5f29dceb8b3fdedaa2d215b535ab8478
parent4770eac663da306fc8298ff8b73ebeabdc23489c
avcodec/indeo2: check ctab

Fixes out of array access
Fixes: 6b73fa392ac808f02e95a4e0a5770026/asan_static-oob_1b15f9a_1969_e7778535e5f27225fe0d6ded14721430.AVI

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 9ffe44c5c75c485b4cbb12751e228f18da219df3)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/indeo2.c