summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/webservices.ui
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2018-10-15 12:27:35 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-10-15 12:50:44 -0400
commit471fc1dfc8c9801aeeb2fa154e13e42c05fc9285 (patch)
tree05e1fac1bbad3bb5f8d677f02d28ef26a747de62 /desktop-widgets/webservices.ui
parent604d563a87af40e58b2f488c373fa9e873403a39 (diff)
downloadsubsurface-471fc1dfc8c9801aeeb2fa154e13e42c05fc9285.tar.gz
Dive list: fix crash on dive import
In commit 8c2383b4952fa22d41745d29484462ed6a67112b dive merging was changed to not modify the original dive. On import, dives were then merged and the original deleted. The merge_weightsystem_info() was not adapted accordingly (deep copy of string instead of pointer), leading to a use-after-free crash. Resolve this by doing a deep copy. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/webservices.ui')
0 files changed, 0 insertions, 0 deletions