libcamera/src
Laurent Pinchart bedef55d95 libcamera: pub_key: Gracefully handle failures to load public key
If the public key fails to load, PubKey::isValid() function returns
false. The only user of the PubKey class, the IPAManager class, doesn't
check that condition, and still calls the PubKey::verify() function,
which leads to a crash.

Fix this by returning false from PubKey::verify() if the key isn't
valid, and log a warning in the IPAManager constructor to report the
issue.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Eric Curtin <ecurtin@redhat.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2022-08-09 16:05:58 +03:00
..
android android: camera_capabilities: Adjust minimum frame duration to match FPS 2022-07-25 20:12:04 +01:00
cam cam: kms_sink: Scale the frame buffer to full screen if supported 2022-08-09 02:31:12 +03:00
gstreamer gstreamer: Be pedantic on srcpads access 2022-07-19 21:50:21 +05:30
ipa libcamera: controls: Generate and use fixed-sized Span types 2022-08-09 13:53:29 +03:00
lc-compliance lc-compliance: Only download gtest subproject as a fallback 2022-02-03 18:23:48 +02:00
libcamera libcamera: pub_key: Gracefully handle failures to load public key 2022-08-09 16:05:58 +03:00
py py: examples: Add simple-cam.py 2022-06-08 20:16:25 +03:00
qcam libcamera: controls: Generate and use fixed-sized Span types 2022-08-09 13:53:29 +03:00
v4l2 libcamera: v4l2_pixelformat: Return the list of V4L2 formats 2022-08-03 15:07:20 +02:00
meson.build Add Python bindings 2022-05-10 13:53:43 +02:00