libcamera/utils/ipc
Paul Elder 1d0d2cf67c utils: ipc: Fix deserialization of multiple fd parameters
The IPADataSerializer::deserializer attempts to optimise code paths and
remove potentially unused code where multiple File Descriptors were not
expected to be utilised.

The addition of multiple SharedFD entries in the IPC highlights this as
a bug.

Clean up the conditionals to ensure that all File Descriptors are
correctly deserialized.

Bug: https://bugs.libcamera.org/show_bug.cgi?id=205
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Tested-by: Andrey Konovalov <andrey.konovalov@linaro.org>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-01-09 15:39:04 +00:00
..
generators utils: ipc: Fix deserialization of multiple fd parameters 2024-01-09 15:39:04 +00:00
mojo utils: ipc: Update mojo 2021-05-26 13:03:27 +09:00
tools utils: ipc: Update mojo 2021-05-26 13:03:27 +09:00
extract-docs.py utils: ipc: extract-docs: Extract the SPDX header 2021-05-31 13:20:19 +09:00
generate.py utils: ipc: add generator script 2021-02-16 19:21:07 +09:00
meson.build utils: ipc: Add script to extract doxygen docs from mojom files 2021-05-27 17:07:04 +09:00
parser.py utils: ipc: Update parser.py 2023-04-05 08:24:11 +03:00