mmvideo: check frame dimensions
authorAnton Khirnov <anton@khirnov.net>
Sun, 14 Dec 2014 20:01:59 +0000 (21:01 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 19 Dec 2014 07:01:46 +0000 (08:01 +0100)
commit17ba719d9ba30c970f65747f42d5fbb1e447ca28
tree5ace948f9709f95d1c52cdd4e80813ddfcdc615b
parent88626e5af8d006e67189bf10b96b982502a7e8ad
mmvideo: check frame dimensions

The frame size must be set by the caller and each dimension must be a
multiple of 2.

CC: libav-stable@libav.org
Bug-ID: CVE-2014-8543
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
libavcodec/mmvideo.c