diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2019-10-27 16:29:22 -0400 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-10-28 05:44:33 -0700 |
commit | fd9e1d6a8aacddab380fd8ea099ebba90169c749 (patch) | |
tree | c47b74f1f573494b8ef5b6b0645e21dd368b6a88 /mobile-widgets | |
parent | 130534aedfb7c9b48cceae5aca5a7c82f2444571 (diff) | |
download | subsurface-fd9e1d6a8aacddab380fd8ea099ebba90169c749.tar.gz |
Cleanup: avoid dereferencing NULL
We should call this function with two well defined dive_or_trip structures
which means that exactly one of the two values is set in each argument. But
in order to not have bugs elsewhere leed to crashes here, be more tolerant
of malformed argumnts.
Fixes CID 350100
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets')
0 files changed, 0 insertions, 0 deletions