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>
Sun, 21 Dec 2014 03:40:04 +0000 (04:40 +0100)
commit86e57695257fde22da2045b6468ccaef34e848a5
treea8cba3b1cf592a961c19cf2ddd70f3f8b65a45d6
parentd37e539d5ef08932c316cf50c00d52cc15e6b413
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