summaryrefslogtreecommitdiffstats
path: root/profile.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-06 20:27:49 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-06 20:35:57 -0800
commit925bb019c716ce5244765e54f1de584ece340b23 (patch)
tree73ee6d38e12c79e98177b2e6d1c5967031b8854a /profile.c
parentf42b986474b47bfcef78931c7744bb16f96c282e (diff)
downloadsubsurface-925bb019c716ce5244765e54f1de584ece340b23.tar.gz
Fix potential crash
Commits 0de3bc845237 ("Display CCR setpoint values on the po2 graph") and 65eed80e3730 ("Don't always show the setpoint graph") didn't take into account that current_dive could be NULL and therefore accessing current_dc could crash. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'profile.c')
0 files changed, 0 insertions, 0 deletions