[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZkcPT8lBtEHETb96@kekkonen.localdomain>
Date: Fri, 17 May 2024 08:03:27 +0000
From: Sakari Ailus <sakari.ailus@...ux.intel.com>
To: ChiYuan Huang <cy_huang@...htek.com>
Cc: Mauro Carvalho Chehab <mchehab@...nel.org>,
Daniel Scally <djrscally@...il.com>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Jean-Michel Hautbois <jeanmichel.hautbois@...asonboard.com>,
linux-media@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: v4l: async: Fix NULL pointer when v4l2 flash
subdev binding
On Fri, May 17, 2024 at 08:00:32AM +0000, Sakari Ailus wrote:
> --------8<-------------
> In v4l2_async_create_ancillary_links(), ancillary links are created for
> lens and flash sub-devices. These are sub-device to sub-device links and if
> the async notifier is related to a V4L2 device, the source sub-device of
> the ancillary link is NULL, leading to a NULL pointer dereference. Check
> the notifier's sd field is non-NULL in v4l2_async_create_ancillary_links().
> --------8<-------------
And a slightly different subject, too: "media: v4l: async: Fix NULL pointer
dereference in adding ancillary links".
No need to send v2.
--
Sakari Ailus
Powered by blists - more mailing lists