summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2015-12-09 14:23:16 (GMT)
committerSwift Review <review@swift.im>2015-12-17 11:56:38 (GMT)
commit38060b55e20bd3303c44d94cc830082bd5e5cdc7 (patch)
tree736560757b9dcd3ad7d68a11cfe461f42e163195 /Swiften/Crypto/PlatformCryptoProvider.cpp
parente9ed818dac91e280eb8da86dc8494710f1da0624 (diff)
downloadswift-38060b55e20bd3303c44d94cc830082bd5e5cdc7.zip
swift-38060b55e20bd3303c44d94cc830082bd5e5cdc7.tar.bz2
Disconnect signals from in-flight IBB request
Canceling an IBB transfer in-flight caused an use-after-free reported by ASAN. With this fix we keep a reference of the current request around to be able to disconnect from its signals on cancel. Test-Information: Transferred a file with Swift using the IBB method and canceled the transfer. The previously error reported by ASAN is gone. Change-Id: I240d3dbb59cddb6b91d49f268595a89ac8805f72
Diffstat (limited to 'Swiften/Crypto/PlatformCryptoProvider.cpp')
0 files changed, 0 insertions, 0 deletions