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>
Sat, 4 Oct 2014 21:52:29 +0000 (23:52 +0200)
commitb89f279cd6244b207ad9142ec4f8c757a909b77c
tree799893f272d859b362f1021164198f6030db3a14
parent7f90eef87ac84c617b102b689eb68e7cb140167b
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>
(cherry picked from commit dd3bfe3cc1ca26d0fff3a3baf61a40207032143f)

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