aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/file.h
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-01-18 11:45:25 -0800
commit38c60e02c7705044f8b7eb9ea177139a63239446 (patch)
treef5e4909ffa08bace86862ef52869262db3c82973 /subsurface-core/file.h
parent040d3cd413a303b43e72607c6d6ba05932a9a5b3 (diff)
downloadsubsurface-38c60e02c7705044f8b7eb9ea177139a63239446.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 'subsurface-core/file.h')
0 files changed, 0 insertions, 0 deletions