tiff: Check that there is no aliasing in pixel format selection
authorAnton Khirnov <anton@khirnov.net>
Sat, 7 Mar 2015 21:06:59 +0000 (22:06 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 8 Mar 2015 18:14:14 +0000 (19:14 +0100)
commitae5e1f3d663a8c9a532d89e588cbc61f171c9186
tree3a34b397ba7d3a769535c920db87b8565749f612
parent6448f15af02f2c3cf0df8cb8237957e426041f2d
tiff: Check that there is no aliasing in pixel format selection

Fixes possible issues with unexpected bpp/bppcount values.

CC: libav-stable@libav.org
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Bug-Id: CVE-2014-8544
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/tiff.c