diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-10-08 18:59:37 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-08 16:42:27 -0700 |
commit | c0ac73a478c5407467019d61ed2536bef90edd62 (patch) | |
tree | 8742e59a87f4fcddea7523841e87461ec22aab70 /libdivecomputer.c | |
parent | 640c746a1faa77ea13c93582c59b391f7e2816de (diff) | |
download | subsurface-c0ac73a478c5407467019d61ed2536bef90edd62.tar.gz |
Fix a crash when editing manually added dive
I have manually added dives from an ancient version of Subsurface.
Trying to edit these caused Subsurface to crash due to comparison of
string of dc.model that did not exist (to a static string). And further
down the execution path we were crashing as there were no samples
associated with the dive.
See #941
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer.c')
0 files changed, 0 insertions, 0 deletions