summaryrefslogtreecommitdiff
path: root/src/cam/capture_script.cpp
diff options
context:
space:
mode:
authorNicholas Roth <nicholas@rothemail.net>2022-11-19 23:06:29 -0600
committerJacopo Mondi <jacopo@jmondi.org>2022-12-01 11:37:36 +0100
commit20f295e4512a28c0de16f088ac48ab104dca9336 (patch)
tree7d78cb73f3736f2d8db6f899f66e7401a3995cc9 /src/cam/capture_script.cpp
parent987d0058743cb07f29b1921ebd0c58d3aedc0963 (diff)
android: Fix improper file descriptor enumerationjmondi/android/pinephonepro
Currently, they way camera_device.cpp handles file descriptors in a buffer_handle_t is incorrect. This can result in the HAL attempting to treat uninitialized memory like file descriptors, usually resulting in a crash. This patch brings the behavior of camera_device.cpp in line with how CameraBuffer handles file descriptors and planes. Bug: https://bugs.libcamera.org/show_bug.cgi?id=172 Signed-off-by: Nicholas Roth <nicholas@rothemail.net>
Diffstat (limited to 'src/cam/capture_script.cpp')
0 files changed, 0 insertions, 0 deletions