ivi_common: check that scan pattern is set before using it.
authorAnton Khirnov <anton@khirnov.net>
Thu, 13 Dec 2012 18:38:20 +0000 (19:38 +0100)
committerReinhard Tartler <siretart@tauware.de>
Sat, 12 Jan 2013 18:20:27 +0000 (19:20 +0100)
commit9f8071245491b7060fac823b8060e06e14ca403b
treed3a8553b5ef72e6f85b7c353513e54b6f3d8ee72
parent642d758a2d829e62e32f08ae3369b41299a5bcc1
ivi_common: check that scan pattern is set before using it.

Fixes CVE-2012-2791.

CC: libav-stable@libav.org
(cherry picked from commit deabb52ab4c1fdb3dd319f3980b1489a182011f1)

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