diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-18 09:02:27 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-18 09:02:27 -0700 |
commit | 1a05f34ae89d35f6ece12dba7b6ab5f60df98705 (patch) | |
tree | 803086825524c6b8d1beb7284a17a0cce825fb64 /profile.c | |
parent | c26c370c2b519cbceaa231cc3c840c78ca92d2a7 (diff) | |
download | subsurface-1a05f34ae89d35f6ece12dba7b6ab5f60df98705.tar.gz |
Make fixup_divep robust against insane dive times
This fixes the case of the dive duration being zero, or being shorter
than the assumed ascent/descent time.
Reported-by: Lutz Vieweg <lvml@5t9.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'profile.c')
0 files changed, 0 insertions, 0 deletions