diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2023-12-11 19:56:38 +0900 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-01-09 15:39:04 +0000 |
commit | 1d0d2cf67cb7100cfc7a368347271f88365b0a52 (patch) | |
tree | fb0900ae7b74a837ec26ca906b224b6e7201e0bb /LICENSES/CC-BY-4.0.txt | |
parent | 0857348887175651308950cd6fd6217c997335a1 (diff) |
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>
Diffstat (limited to 'LICENSES/CC-BY-4.0.txt')
0 files changed, 0 insertions, 0 deletions