summaryrefslogtreecommitdiff
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2019-01-10 07:43:19 -0500
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-01-16 11:12:10 -0500
commit9048b2e15b11c591c649cc6edc7a64fa62c15419 (patch)
treeb2db22dae3e4800d48dffe3303ae09e97c7ac70b /MAINTAINERS
parentdd91642ac71208fe972a9c577ed52b6b3ba7b732 (diff)
media: v4l: ioctl: Validate num_planes before using it
The for loop to reset the memory of the plane reserved fields runs over num_planes provided by the user without validating it. Ensure num_planes is no more than VIDEO_MAX_PLANES before the loop. Fixes: 4e1e0eb0e074 ("media: v4l2-ioctl: Zero v4l2_plane_pix_format reserved fields") Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions