diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-02-18 13:47:52 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2021-02-19 13:58:49 +0000 |
commit | 8201093830845f1ce420b8ca1dc550cd5a421b26 (patch) | |
tree | eeefe485e94d86c1b9aa0535ad40f10130d25948 /src/qcam/assets/feathericons/code.svg | |
parent | b147de25537652f8dabf40d5165350dad083a28a (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/qcam/assets/feathericons/code.svg')
0 files changed, 0 insertions, 0 deletions