diff options
author | Tobias Markmann <tm@ayena.de> | 2016-01-21 08:43:00 (GMT) |
---|---|---|
committer | Tobias Markmann <tm@ayena.de> | 2016-01-21 09:34:29 (GMT) |
commit | f377207cb896679b4eab9f6773d9d071700852ad (patch) | |
tree | ec31fa8a6feb3512c4d86c750a1eb5fb45fd75ef /Swift/Controllers/XMPPEvents/SubscriptionRequestEvent.h | |
parent | 0ca3ea9a88acb5e2d42baa3a85d61495d72b7352 (diff) | |
download | swift-f377207cb896679b4eab9f6773d9d071700852ad.zip swift-f377207cb896679b4eab9f6773d9d071700852ad.tar.bz2 |
Stop timer during clean up of WhitespacePingLayer
AddressSanitizer reported a heap-buffer-overflow in
WhitespacePingLayer::handleTimerTick() which happened during
multiple restarts of a XMPP server. Under the assumption
that it was caused by not correctly stopping the timer, the
timer is now explicitly stopped if still active at destruction.
Test-Information:
Unable to reproduce the ASAN report. Unit tests still pass.
Change-Id: Ia0b7c3b613688750c4ce0ad40d759a0db4a52791
Diffstat (limited to 'Swift/Controllers/XMPPEvents/SubscriptionRequestEvent.h')
0 files changed, 0 insertions, 0 deletions