datatheorem / TrustKit

Easy SSL pinning validation and reporting for iOS, macOS, tvOS and watchOS.
MIT License
2k stars 360 forks source link

Crash in TrustKit initWithConfiguration:sharedContainerIdentifier:isSingleton: #313

Open JuhaO81 opened 10 months ago

JuhaO81 commented 10 months ago

No steps and cannot reproduce in test apps but we are seeing this in production. Seems most of the devices & most of the iOS versions.

Crashed: com.datatheorem.trustkit.reporterqueue 0 libobjc.A.dylib 0x2820 objc_msgSend + 32 1 XXX 0x3a6eb8 __72-[TrustKit initWithConfiguration:sharedContainerIdentifier:isSingleton:]_block_invoke_2 + 197 (TrustKit.m:197) 2 XXX 0x3a6524 __49-[TSKPinningValidator evaluateTrust:forHostname:]_block_invoke + 182 (TSKPinningValidator.m:182) 3 libdispatch.dylib 0x2320 _dispatch_call_block_and_release + 32 4 libdispatch.dylib 0x3eac _dispatch_client_callout + 20 5 libdispatch.dylib 0xb534 _dispatch_lane_serial_drain + 668 6 libdispatch.dylib 0xc0a4 _dispatch_lane_invoke + 384 7 libdispatch.dylib 0x16cdc _dispatch_workloop_worker_thread + 648 8 libsystem_pthread.dylib 0xddc _pthread_wqthread + 288 9 libsystem_pthread.dylib 0xb7c start_wqthread + 8