diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-16 18:23:43 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-25 23:47:13 +0900 |
commit | b5d61c86ab23baf420764cbcc4814aee42d34a9d (patch) | |
tree | a8bd6fd8f79b527d3233dc595afec121211ceb11 /.gitignore | |
parent | 02802aa11f0ba25718c09ac836188701065cba9a (diff) |
v4l2: v4l2_camera_proxy: Check for null arg values in main ioctl handler
The ioctl handlers currently don't check if arg is null, so if it ever
is, it will cause a segfault. Check that arg is null and return -EFAULT
in the main vidioc ioctl handler.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions