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:21:40 +0000 (19:21 +0000)
commitbea14966e2a37019cb4e38420868c5bb0542d487
treec8df821ab1a075158e0a325d3b3934f3a99f55e5
parent6be5a3c0451e8f199ef1da09961aa76c08c87afd
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>
(cherry picked from commit 70cd3b8e659c3522eea5c16a65d14b8658894a94)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
libavcodec/mmvideo.c