summaryrefslogtreecommitdiffstats
path: root/.tx
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-15 21:17:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-15 20:55:03 -0400
commit813c5705242de74e7770e79c8d50a2041c486e35 (patch)
tree9063d3a6e2301a5efad396bc178a36b4ba5b9bea /.tx
parent36043e8af22f7e789d6231c18ed6429f5236d889 (diff)
downloadsubsurface-813c5705242de74e7770e79c8d50a2041c486e35.tar.gz
Core: copy whole list in copy_dc_renumber()
copy_dc_renumber() is an internal function to copy dive computers and renumber the cylinders. Since only the structure was copied, in the case of multi-dc dives, the merged dives shared the same computer. If one of them was freed, use-after-free crashes would happen. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to '.tx')
0 files changed, 0 insertions, 0 deletions