summaryrefslogtreecommitdiffstats
path: root/Readme.testing
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-01 21:49:00 -0400
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-10-01 22:02:01 -0400
commitdf51171352cb615cfa792ece05554afa212a3cbc (patch)
treed3e62f130c6a2994051bc0c5f38289f1c0e4286f /Readme.testing
parentdd58402ef35ef8971920810768b87717c2a2169d (diff)
downloadsubsurface-df51171352cb615cfa792ece05554afa212a3cbc.tar.gz
Avoid possible NULL pointer dereference
This makes the code more robust in case the Uemis returns random or non-sensical data. It's unlikely the user has a billion dives or that the Uemis returns such a number. That's no reason not to handle this case without crashing. Coverity CID 1325289 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Readme.testing')
0 files changed, 0 insertions, 0 deletions