[PATCHv5 0/3] v4l2-core: improve ioctl validation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This supersedes https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg150027.html
based on feedback from Laurent:

https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg150117.html

and Sakari:

https://www.mail-archive.com/linux-media@xxxxxxxxxxxxxxx/msg150129.html

It actually makes the code a bit simpler in places compared to the v4, so
that's a good sign.

In this v5 I now check if a GRABBER device is a video or metadata device
(or both!) by checking device_caps.

Regards,

	Hans

Hans Verkuil (2):
  v4l2-dev: simplify the SDR checks
  v4l2-dev: fix is_tch checks

Vandana BN (1):
  v4l2-core: correctly validate video and metadata ioctls

 drivers/media/v4l2-core/v4l2-dev.c   | 104 ++++++++++++++++-----------
 drivers/media/v4l2-core/v4l2-ioctl.c |  16 ++++-
 2 files changed, 75 insertions(+), 45 deletions(-)

-- 
2.23.0.rc1




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux