diff options
| author | 2013-12-12 16:12:04 -0800 | |
|---|---|---|
| committer | 2013-12-12 16:29:06 -0800 | |
| commit | 89a58e23e095c50dc844cbbed577c989cf801e32 (patch) | |
| tree | 0d119eef84d5a52518c4685fedde0b57e90f41d4 /INSTALL | |
| parent | 007aa79fd711395dd2d747ca1ba7a6e05820d1c1 (diff) | |
| download | subsurface-89a58e23e095c50dc844cbbed577c989cf801e32.tar.gz | |
Correctly parse multiple tags in the divelog
The old parsing code overwrote the first comma with a '\0' and then
checked the index against the length of the buffer - which was changed by
replacing the ',' with the '\0'.
This means that since commit 78acf20848c0 ("Don't crash on loading tags
longer than 127 chars") Subsurface has potentially damaged / lost data in
dive files!
Added a test dive that shows the issue if opened by a Subsurface version
after the commit mentioned above but before this commit.
Reported-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'INSTALL')
0 files changed, 0 insertions, 0 deletions