iff: validate CMAP palette size
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sun, 17 Mar 2013 19:22:19 +0000 (20:22 +0100)
committerReinhard Tartler <siretart@tauware.de>
Mon, 18 Mar 2013 19:23:37 +0000 (20:23 +0100)
commit31a77177ff323ef83944c60a8654891213ab6691
treebe1256d9a260032d2710eef1ac3e8aab876906b0
parent1e7f825a9b212f838cf6df74da70d33113919dbf
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
(cherry picked from commit 50c449ac24fbb4c03c15d2e2026cef2204b80385)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/iff.c