diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-03-03 17:04:25 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-03-08 12:08:10 +0000 |
commit | 2fac95b400b72b33d075bc77407376eb935f3458 (patch) | |
tree | 61f88625cb35e6e86928a580dcb5094f0c5b567c /src/android/camera_device.h | |
parent | 49667ad8e58923b682fcfd6dd70d9be29a96b1bd (diff) |
libcamera: pipeline: ipu3: Ensure that IPU3Frames::info is not used after delete
When the IPU3Frames completes, it deletes the internal info storage.
This storage contains the pointer to the Request, but in some cases the
pointer was being accessed after the info structure was removed.
Ensure that the Request is obtained before attempting to complete to
obtain a valid pointer.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/android/camera_device.h')
0 files changed, 0 insertions, 0 deletions