avcodec/hnm4video: check offset in decode_interframe_v4() more completely
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Nov 2013 20:00:11 +0000 (21:00 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Nov 2013 21:12:27 +0000 (22:12 +0100)
commit5a08ba5381cf8d46034440163e71cd95748beceb
tree216a342982ccf2da83150aab46f358dbda240a0f
parenta7f27453f64d9020b92b01687baeb5909c6cdad0
avcodec/hnm4video: check offset in decode_interframe_v4() more completely

Fixes out of array reads
Fixes: signal_sigsegv_e74c1e_1092_BROCIME.HNM
Fixes: signal_sigsegv_e74e85_2620_PLAQUE0.HNM

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/hnm4video.c