avcodec/hnm4video: check dimensions for validity
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Nov 2013 22:11:20 +0000 (23:11 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Nov 2013 22:52:08 +0000 (23:52 +0100)
commitbd8d28e2d2713f0368ee6b7dbb5ec251cbc162ac
tree31215e2e07d6b4e44e0f4d061145df179447d519
parent004f3b154b7c23662263f1ff118f69ff54e55013
avcodec/hnm4video: check dimensions for validity

Fixes out of array read
Fixes: asan_heap-oob_e76e18_1244_CASSE.HNM
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hnm4video.c