diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-05-02 13:21:00 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2018-05-03 02:14:03 +0300 |
commit | fb84b1185428dd8557bba915c6a018657b92ad2f (patch) | |
tree | b7ddfd7f323c94ee130a7d50dda7c5be48a2de9f /desktop-widgets/tab-widgets | |
parent | 12e4b6d62c06cde3e8ad0d1202ebd52b020f693c (diff) | |
download | subsurface-fb84b1185428dd8557bba915c6a018657b92ad2f.tar.gz |
Profile: Fix crash on addition of dive to fresh logbook
If there is no current dive, the macro current_dc returns NULL.
This led to a null-pointer dereference.
Reported-by: Martin Měřinský <mermar@centrum.cz>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/tab-widgets')
0 files changed, 0 insertions, 0 deletions