Signal-iOS/SignalServiceKit/tests
Michelle Linington 1788e4a4fb Fixes a crash in OWSReceiptManager
Dictionary(uniqueKeysWithValues:) will assert that the provided keys are
unique and crash if a violation occurs. The existing code in
OWSReceiptManager falsely assumes that the addresses being built are
unique.

The keys in the key value store *are* unique, but as they're mapped into
addresses, we may have learned of a high trust e164/UUID mapping since
they were inserted. As the identifiers are mapped into
SignalServiceAddresses, the e164 and UUID are mapped to the same
SignalServiceAddress.

The fix is to just wrap our address builder in a Set() so we only have
one copy for each address.
2021-08-09 21:43:06 -03:00
..
Account Fix test imports. 2021-06-07 11:41:43 -04:00
Contacts Fix test imports. 2021-06-07 11:41:43 -04:00
Devices Fix test imports. 2021-06-07 11:41:43 -04:00
Groups Rework the 'pending member requests and invites' view. 2020-09-03 18:33:07 -03:00
Messages Fixes a crash in OWSReceiptManager 2021-08-09 21:43:06 -03:00
Network Rework dependency access. 2021-03-25 09:24:27 -03:00
Security Fix test imports. 2021-06-07 11:41:43 -04:00
Storage Refine names. 2021-07-02 22:08:53 -03:00
Util Apply LRUCache everywhere. 2021-06-30 16:01:08 -03:00
SSKBaseTestObjC.h Remove YapDatabase. 2021-03-25 11:41:16 -03:00
SSKBaseTestObjC.m Fix test imports. 2021-06-07 11:41:43 -04:00
SSKBaseTestSwift.swift Remove YapDatabase. 2021-03-25 11:41:16 -03:00
SSKSwiftTests.swift Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00