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)
committerAnton Khirnov <anton@khirnov.net>
Fri, 14 Dec 2012 06:10:53 +0000 (07:10 +0100)
commitdeabb52ab4c1fdb3dd319f3980b1489a182011f1
tree9ee9d3d7b1f11e72a2d15876a9a7ff0e1eb6c07b
parent07acdd651d1e2f4cfa5f610e616e70e323bb69cd
ivi_common: check that scan pattern is set before using it.

Fixes CVE-2012-2791.

CC: libav-stable@libav.org
libavcodec/ivi_common.c