cavsdec: check for changing w/h.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Mar 2012 01:40:24 +0000 (02:40 +0100)
committerReinhard Tartler <siretart@tauware.de>
Fri, 4 Jan 2013 06:43:37 +0000 (07:43 +0100)
commit6996a2f796898753b85d9465653f995148ebc753
tree0c78f98596cb4f7a7a9833e999f55dfec8f6f69b
parent05f5a2eb62db2ffb802b2c317cb48c769ab02b3b
cavsdec: check for changing w/h.

Our decoder does not support changing w/h.

Fixes CVE-2012-2777 and CVE-2012-2784.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit c20a69630619d14ae92c5541d52c579d7c8f3e94)

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