summaryrefslogtreecommitdiffstats
path: root/device.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-18 11:44:05 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-02-26 09:17:33 +0100
commitb2eee9db6b318124a04ccf1f51cd65f3270db71e (patch)
tree6f24e8ad770d78887c8189a391d43543220f8490 /device.c
parent403d6dcfb016a5886a9e6baab34c9868dad2aaf0 (diff)
downloadsubsurface-b2eee9db6b318124a04ccf1f51cd65f3270db71e.tar.gz
Fix crash with empty (or very short) dive list
In commit 37c10c8fd6 ("Add dive type to statistics window") not enough space is reserved for the newly introduced array if the dive list as fewer than 4 entries. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'device.c')
0 files changed, 0 insertions, 0 deletions