diff options
author | Tobias Markmann <tm@ayena.de> | 2015-12-09 14:23:16 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2015-12-17 11:56:38 (GMT) |
commit | 38060b55e20bd3303c44d94cc830082bd5e5cdc7 (patch) | |
tree | 736560757b9dcd3ad7d68a11cfe461f42e163195 /Swiften/Base/SafeAllocator.cpp | |
parent | e9ed818dac91e280eb8da86dc8494710f1da0624 (diff) | |
download | swift-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/Base/SafeAllocator.cpp')
0 files changed, 0 insertions, 0 deletions