diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-08 10:51:15 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-08 10:51:15 -0700 |
commit | 661aa67e89ad7710f90482b074715c4d1448860a (patch) | |
tree | 0ae4fdfbd00e6dd51c086574cc6b23b7aa7ed345 /dives/TestDiveDivelogsDE.udcf | |
parent | df01a5d35f620d2f33e4283863b729ed9554e23f (diff) | |
download | subsurface-661aa67e89ad7710f90482b074715c4d1448860a.tar.gz |
Avoid potential crash if no dive is selected
I missed to spots where we would unconditionally dereference the dive
pointer.
Reported-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Reported-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dives/TestDiveDivelogsDE.udcf')
0 files changed, 0 insertions, 0 deletions