smacker: error out if palette copy-with-offset overruns palette size.
authorRonald S. Bultje <rsbultje@gmail.com>
Wed, 7 Mar 2012 01:24:20 +0000 (17:24 -0800)
committerReinhard Tartler <siretart@tauware.de>
Tue, 13 Mar 2012 22:12:00 +0000 (23:12 +0100)
commitc3bf08d04cdec3d4fd5c4ea70e14b5edca2c45a7
tree1460f7150e2c026fe5970b268c49039c1b51d733
parent12247a13e018d64ba59012283d9b16374358985b
smacker: error out if palette copy-with-offset overruns palette size.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit a93b572ae4f517ce0c35cf085167c318e9215908)

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