commit | 885ca801e36d77c2d0025486b178c585a4680a80 | [log] [tgz] |
---|---|---|
author | Sakari Ailus <sakari.ailus@linux.intel.com> | Mon Oct 05 12:45:29 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Wed Oct 04 17:16:14 2017 -0300 |
tree | e1b0d1f6c32d13202f99eeb0b629b77f502b8077 | |
parent | 19fab6fe67d815eb90095e21e3273a1fbe0c8fd9 [diff] |
[media] media: Check for active and has_no_links overrun The active and has_no_links arrays will overrun in media_entity_pipeline_start() if there's an entity which has more than MEDIA_ENTITY_MAX_PAD pads. Ensure in media_entity_init() that there are fewer pads than that. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>