mmvideo: check horizontal coordinate too
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 3 Aug 2014 18:24:18 +0000 (19:24 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 5 Aug 2014 19:16:12 +0000 (19:16 +0000)
commit70cd3b8e659c3522eea5c16a65d14b8658894a94
treead304d930b5920c232cbe41d2b6eaa77b26de4f1
parent849b9d34c7ef70b370c53e7af3940f51cbc07d0f
mmvideo: check horizontal coordinate too

Fixes out of array accesses.

Bug-Id: CVE-2013-3672
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/mmvideo.c