vc1: check that slices have a positive height
authorAnton Khirnov <anton@khirnov.net>
Sun, 14 Aug 2016 08:18:39 +0000 (10:18 +0200)
committerAnton Khirnov <anton@khirnov.net>
Thu, 18 Aug 2016 15:06:46 +0000 (17:06 +0200)
commit33f10546ec012ad4e1054b57317885cded7e953e
treef14dfe7eca92ad6f317d70ea95159838f2f62737
parent09b23786b3986502ee88d4907356979127169bdd
vc1: check that slices have a positive height

Fixes possible invalid reads.

CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
libavcodec/vc1dec.c