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:32:56 +0000 (19:32 +0000)
commite17dc0a254ac8d3c33887a114a66e2b659ba0bc5
tree06ed1976bb0d8532b769e135894c94ca92e3cbad
parent4a6622550a4a4bf4690ea7d9fe42210a30a67936
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