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>
Thu, 12 Mar 2015 17:03:48 +0000 (18:03 +0100)
commite0ed766f2a4d6395e9633d350f39a175b9e9adc3
treef61c35693d7129da98446647074ec7fb9cb22d65
parent677da723005e0a40e4ab88cec7c001fbfc65955a
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