diff options
author | Jacopo Mondi <jacopo@jmondi.org> | 2020-12-01 17:12:19 +0100 |
---|---|---|
committer | Jacopo Mondi <jacopo@jmondi.org> | 2020-12-02 11:23:20 +0100 |
commit | c5b732b2caacdedde53160e9cf4adc6901fb7454 (patch) | |
tree | 25d40e0194c7ee32f02b455c0cda1358248875ec /src/gstreamer/gstlibcameraallocator.h | |
parent | c268e4f2e8dd45d3538489fa164a043cd25b0453 (diff) |
android: camera_device: Check capture_request validity
Make sure the 'camera3_capture_request_t *' provided to
CameraDevice::processCaptureRequest() is valid before attempting to
access it.
This patch fixes cros_camera_test:
Camera3FrameTest/Camera3InvalidRequestTest.NullOrUnconfiguredRequest/*
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/gstreamer/gstlibcameraallocator.h')
0 files changed, 0 insertions, 0 deletions