diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-18 18:46:02 +0900 |
---|---|---|
committer | Paul Elder <paul.elder@ideasonboard.com> | 2020-06-25 23:47:13 +0900 |
commit | 3f01ccf24b5866b23ca37bcee9e92a648363e4e1 (patch) | |
tree | be97bfc9280bbfb47c9a592332b89463bd35d5bf /test/controls/control_list.cpp | |
parent | 4d150c7faf8291fcd533ab721a0169c3249c26c2 (diff) |
v4l2: v4l2_camera_proxy: Don't allow buffers to be freed if still mmaped
In VIDIOC_REQBUFS with count = 0, if the buffers are still mmaped, they
should not be allowed to be freed. Add a check for this.
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/controls/control_list.cpp')
0 files changed, 0 insertions, 0 deletions