summaryrefslogtreecommitdiff
path: root/src/qcam/assets/feathericons/sliders.svg
diff options
context:
space:
mode:
authorJacopo Mondi <jacopo@jmondi.org>2020-05-20 17:04:59 +0200
committerJacopo Mondi <jacopo@jmondi.org>2020-05-21 13:35:29 +0200
commite8cc0a26583ce6fa3d25fd10173a037f2c5e57c8 (patch)
tree320b3dbe70a6e79b4c630cdad3b0ab9036e4754d /src/qcam/assets/feathericons/sliders.svg
parentc31785156bf9d6cbb5e4c41bf3f7344914bbb411 (diff)
libcamera: raspberry: Fix segfault in ~RPiCameraData()
The RPiCameraData class destructor tries to stop its ipa_ instance without making sure it has been initialized. If the RPiCameraData gets destroyed before its ipa_ member is initialized, for example if the sensor initialization fails during the match() function, a nullptr dereference segfault is triggered preventing a graceful library teardown. Fix this by checking for ipa_ to be initialized before stopping it. Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Diffstat (limited to 'src/qcam/assets/feathericons/sliders.svg')
0 files changed, 0 insertions, 0 deletions