summaryrefslogtreecommitdiff
path: root/utils/checkstyle.py
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2021-10-01 23:15:25 +0200
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2021-10-13 01:20:10 +0300
commit0ce723fc8bf6095074562a871b9215d6dea28ab5 (patch)
tree8db027be3b9ecf3e9f3f9cc2638294c62919c830 /utils/checkstyle.py
parent828f0d97bea247205296a82197bb2795a17ae89b (diff)
android: Check if Stream configurations were generated correctly
The libcamera Android Camera HAL generates camera configurations for the StillCapture, Raw and ViewFinder stream roles. But there is only a check if the configuration generation failed, for the StillCapture stream role. This could lead to a NULL pointer dereference if a pipeline handler fails to generate a default configuration for one of the other two stream roles. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Hirokazu Honda <hiroh@chromium.org> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'utils/checkstyle.py')
0 files changed, 0 insertions, 0 deletions