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>
Thu, 12 Mar 2015 17:03:48 +0000 (18:03 +0100)
commit19d0c9e9934b6460e1c6d815c9cf31653fcddcfc
tree0fe0554f687a256eddc3598ad8b77208a745c619
parentbd3a28e8b65cd1bbe550e03bc7647831d4ea3d18
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)

Conflicts:

libavcodec/mmvideo.c

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