iff: validate CMAP palette size
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 17 Mar 2013 19:22:19 +0000 (20:22 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 18 Mar 2013 09:48:29 +0000 (10:48 +0100)
commit50c449ac24fbb4c03c15d2e2026cef2204b80385
tree6e9d79f016daa81b095360679e80395be3a77365
parentd1bec33b46091546c5b2e6815210e73f87abf413
iff: validate CMAP palette size

Fixes CVE-2013-2495

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
CC: libav-stable@libav.org
libavformat/iff.c