OSDN Git Service

avcodec/mmvideo: Bounds check 2nd line of HHV Intra blocks
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 12:45:04 +0000 (14:45 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 28 Nov 2014 17:44:38 +0000 (18:44 +0100)
commitce9d497755fd3a8a03221ddf3e7624630c3a14c0
tree4b714007c101a2bbc22c6c4a9c4bea85c4212541
parentb5298c464f0519b1f7e51f4513021fd004486543
avcodec/mmvideo: Bounds check 2nd line of HHV Intra blocks

Fixes out of array access
Fixes: asan_heap-oob_4da4f3_8_asan_heap-oob_4da4f3_419_scene1a.mm

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 8b0e96e1f21b761ca15dbb470cd619a1ebf86c3e)

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