diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-07-18 12:33:31 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2021-07-19 10:13:51 -0700 |
commit | 361678dcbea78d5d4155439eb90936e3f0f36114 (patch) | |
tree | 0f423b30bc64c5242cb0b17a5ed56ae8cce0c897 /android-mobile/font.qrc | |
parent | 7e11a3537102697604dbb971a0f3800b25db5ffe (diff) | |
download | subsurface-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 'android-mobile/font.qrc')
0 files changed, 0 insertions, 0 deletions