diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-16 19:35:50 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-25 23:47:13 +0900 |
commit | 609036a9e66f53d4d863efa448b5c4e4ac80f223 (patch) | |
tree | aab3a5b5afe9160957052b1b42c4f6b6b03bc90d /src/cam/main.h | |
parent | 9909ce33f91b4ce7e9c61a28dbf91b7b24fd1161 (diff) |
v4l2: v4l2_camera_proxy: Check arg->index bounds for querybuf, qbuf, dqbuf
There were no bounds checks for the index argument for VIDIOC_QUERYBUF,
VIDIOC_QBUF, and VIDIOC_DQBUF. Add them.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/cam/main.h')
0 files changed, 0 insertions, 0 deletions