avcodec/dxa: check dimensions
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 14:26:42 +0000 (15:26 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 28 Oct 2014 15:05:18 +0000 (16:05 +0100)
commit7b7d12ea0448c8418ab086ec8f202a5fb14f54fe
tree9d136d9dab530de4c9b1241da230823e60a1080b
parente26fd791efaa52f825903be6e41d44fbaf40aadb
avcodec/dxa: check dimensions

Fixes out of array access
Fixes: asan_heap-oob_11222fb_21_020.dxa
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit e70312dfc22c4e54d5716f28f28db8f99c74cc90)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dxa.c