diff options
author | Tobias Markmann <tm@ayena.de> | 2014-08-15 13:33:59 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2014-09-18 06:23:03 (GMT) |
commit | dbdd30aa0d94c79742a602908890548030088bc9 (patch) | |
tree | 1e80c718167538fabf39c340f2e4a4d43773910e /Swiften/Serializer/PayloadSerializers/UnitTest/SearchPayloadSerializerTest.cpp | |
parent | d33e0a18e51ce35b967398a7b6d22a26082de0e9 (diff) | |
download | swift-dbdd30aa0d94c79742a602908890548030088bc9.zip swift-dbdd30aa0d94c79742a602908890548030088bc9.tar.bz2 |
Only allocate BlockResponder and UnblockResponder once. Fixes ASAN
heap-used-after-free report.
Tested via ASAN, report gone after applying this change. It previously occured
during machine sleep/resume or logout/login.
Change-Id: I8af6a3c290457a4a98f94486a225f9dfb92ca885
License: This patch is BSD-licensed, see Documentation/Licenses/BSD-simplified.txt for details.
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/UnitTest/SearchPayloadSerializerTest.cpp')
0 files changed, 0 insertions, 0 deletions