libcamera/src
Naushir Patuck 2ebce32cf6 pipeline: raspberrypi: Fix possible null dereference
The freeBuffers() cleanup code calls into the IPA to unmap and free
shared buffers. However, this function could be called before the IPA
has opened (via registerCamera()), causing a segmentation fault. Fix
this by guarding against calling the IPA if it has not been opened.

Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
2022-05-23 10:50:16 +03:00
..
android android: Drop gcc 7 compatibility 2022-05-20 10:40:38 +03:00
cam cam: Use script parser to set controls 2022-05-22 12:52:13 +03:00
gstreamer gstreamer: Fix typo in comment 2022-03-29 01:42:26 +03:00
ipa ipa: ipu3: Put IPAFrameContext(s) in a ring buffer 2022-05-18 15:27:33 +01:00
lc-compliance lc-compliance: Only download gtest subproject as a fallback 2022-02-03 18:23:48 +02:00
libcamera pipeline: raspberrypi: Fix possible null dereference 2022-05-23 10:50:16 +03:00
py py: Clean up control enums generation 2022-05-18 17:52:32 +03:00
qcam libcamera: Replace toString with operator<<() for format classes 2022-05-04 14:11:33 +03:00
v4l2 libcamera: Replace toString with operator<<() for format classes 2022-05-04 14:11:33 +03:00
meson.build Add Python bindings 2022-05-10 13:53:43 +02:00