summaryrefslogtreecommitdiffstats
path: root/terms
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2021-07-18 12:33:31 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-07-19 10:13:51 -0700
commit361678dcbea78d5d4155439eb90936e3f0f36114 (patch)
tree0f423b30bc64c5242cb0b17a5ed56ae8cce0c897 /terms
parent7e11a3537102697604dbb971a0f3800b25db5ffe (diff)
downloadsubsurface-361678dcbea78d5d4155439eb90936e3f0f36114.tar.gz
parser: don't create samples with invalid cylinder ids
By default, the parser would create samples with cylinder ids 0 and 1. This creates out-of-bound accesses for the common one-cylinder (or even no-cylinder) dives. These were harmless when the cylinder-table was of a fixed size. Since changing to a dynamic cylinder-table, these became actual out-of-bound accesses. Don't create such samples in the parser. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'terms')
0 files changed, 0 insertions, 0 deletions