Re: [PATCHv6 1/3] v4l2-core: correctly validate video and metadata ioctls

2019-10-14 Thread Hans Verkuil
On 10/14/19 11:36 PM, Laurent Pinchart wrote: > Hi Hans, > > Tank you for the patch. > > On Mon, Oct 14, 2019 at 10:40:19AM +0200, Hans Verkuil wrote: >> From: Vandana BN >> >> If the type is VFL_TYPE_GRABBER, then also check device_caps >> to see if the video device supports video and/or metada

Re: [PATCHv6 1/3] v4l2-core: correctly validate video and metadata ioctls

2019-10-14 Thread Laurent Pinchart
Hi Hans, Tank you for the patch. On Mon, Oct 14, 2019 at 10:40:19AM +0200, Hans Verkuil wrote: > From: Vandana BN > > If the type is VFL_TYPE_GRABBER, then also check device_caps > to see if the video device supports video and/or metadata and > disable unneeded ioctls. > > Without this change,