jvdec: 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)
commit88626e5af8d006e67189bf10b96b982502a7e8ad
tree95acf284e1a737cbbaf0883a78df1dc69ef6c8f1
parent809c3023b699c54c90511913d3b6140dd2436550
jvdec: check frame dimensions

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

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