avcodec/qpeg: fix off by 1 error in MV bounds check
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 19:08:52 +0000 (21:08 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 19:09:40 +0000 (21:09 +0200)
commitdd3bfe3cc1ca26d0fff3a3baf61a40207032143f
tree3bb5ebdb19ecece28eb8d1fe29bdc4d864076e4c
parent8f1457864be8fb9653643519dea1c6492f1dde57
avcodec/qpeg: fix off by 1 error in MV bounds check

Fixes out of array access
Fixes: asan_heap-oob_153760f_4_asan_heap-oob_1d7a4cf_164_VWbig6.avi

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