summaryrefslogtreecommitdiff
path: root/src/v4l2/v4l2_compat_manager.h
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2021-02-18 13:47:52 +0000
committerKieran Bingham <kieran.bingham@ideasonboard.com>2021-02-19 13:58:49 +0000
commit8201093830845f1ce420b8ca1dc550cd5a421b26 (patch)
treeeeefe485e94d86c1b9aa0535ad40f10130d25948 /src/v4l2/v4l2_compat_manager.h
parentb147de25537652f8dabf40d5165350dad083a28a (diff)
libcamera: pipeline: ipu3: Prevent unintialised memory use
The call to setFormat uses uninitialised data, which, could cause unwanted effects. It is also trapped and reported by valgrind. Initialise the V4L2SubdeviceFormat structure correctly before use. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Acked-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com> Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/v4l2/v4l2_compat_manager.h')
0 files changed, 0 insertions, 0 deletions