From: Laurent Pinchart Date: Wed, 29 Jan 2014 13:07:13 +0000 (-0300) Subject: [media] v4l: Validate fields in the core code for subdev EDID ioctls X-Git-Tag: omap-for-v3.16/fixes-against-rc1~56^2~20^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2e9084779d3ad3b51ee45a3a53fead3f16516ca;p=pandora-kernel.git [media] v4l: Validate fields in the core code for subdev EDID ioctls The subdev EDID ioctls receive a pad field that must reference an existing pad and an EDID field that must point to a buffer. Validate both fields in the core code instead of duplicating validation in all drivers. Signed-off-by: Laurent Pinchart Acked-by: Sakari Ailus Reviewed-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed