summaryrefslogtreecommitdiff
path: root/Documentation/sensor_model.svg
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2024-08-05 23:31:48 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2024-08-08 15:09:52 +0100
commit62760bd2605a83e663b9003244ff42f8946f8955 (patch)
treed7d84b631f0334db172288f4518eca5602af391d /Documentation/sensor_model.svg
parent1045522af99c9f26e0f583aa2310174f7ff42178 (diff)
libcamera: udev: Catch udev notification errors
The udev_monitor_receive_device() can return NULL on an error as detailed in the man pages for the function. The udevNotify() handler in the DeviceEnumeratorUdev directly uses the return value of udev_monitor_receive_device() in successive calls to process the event without having first checked the udev_device. Ensure we identify, and handle events where the udev_device can not be returned successfully. Bug: https://bugs.libcamera.org/show_bug.cgi?id=230 Reviewed-by: Stefan Klug <stefan.klug@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/sensor_model.svg')
0 files changed, 0 insertions, 0 deletions