On Thu, Jan 10, 2019 at 04:24:26PM +0200, Sakari Ailus wrote: > The num_planes field in struct v4l2_pix_format_mplane is used in a loop > before validating it. As the use is printing a debug message in this case, > just cap the value to the maximum allowed. > > Signed-off-by: Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx > --- > drivers/media/v4l2-core/v4l2-ioctl.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) Seems reasonable: Reviewed-by: Thierry Reding <treding@xxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature