Re: [PATCH 1/1] media: Check for active and has_no_links overrun

2017-09-07 Thread Hans Verkuil
On 08/29/17 15:46, Sakari Ailus wrote: > From: Sakari Ailus > > 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

[PATCH 1/1] media: Check for active and has_no_links overrun

2017-08-29 Thread Sakari Ailus
From: Sakari Ailus 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 --- drivers/media/media-entity.