indeo5dec: Make sure we have had a valid gop header.
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 24 Mar 2012 16:43:55 +0000 (17:43 +0100)
committerReinhard Tartler <siretart@tauware.de>
Fri, 1 Feb 2013 05:46:04 +0000 (06:46 +0100)
commit03ddc260668beaf62f6f7fe64a08b5a71be5bb27
tree3a521cee512255177d444b49f8aea88da409371a
parent801eff785aa1c791d75afaa59233e9b5e9e0f4c7
indeo5dec: Make sure we have had a valid gop header.

This prevents decoding happening on a half initialized context.

Fixes CVE-2012-2779

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

Conflicts:

libavcodec/ivi_common.c
libavcodec/ivi_common.h
libavcodec/indeo5.c