Fixed crashes due to race conditions with `NSMutableDictionary` access in `AFHTTPRequestSerializer` by alexbird · Pull Request #3526 · AFNetworking/AFNetworking
added 3 commits
March 8, 2016 16:43…RequestSerialiser – Added unit test which reproduces the issue. NB: as the crash is caused by using a dictionary in a way that the runtime did not expect, it typically causes intermittent crashes which are almost always in unrelated areas of the app. This seems to be strongly related to deallocation of the values in the dictionary, but this may not be the only cause. As such, there is nothing to positively test for, the test succeeds if it doesn't EXC_BAD_ACCESS when cleaning up the @autoreleasepool at the end.
kcharwood
changed the title
Fix for crashes due to dangerous NSMutableDictionary access in AFHTTPRequestSerialiser
Fixed crashes due to race conditions with NSMutableDictionary access in AFHTTPRequestSerialiser
kcharwood
changed the title
Fixed crashes due to race conditions with NSMutableDictionary access in AFHTTPRequestSerialiser
Fixed crashes due to race conditions with NSMutableDictionary access in AFHTTPRequestSerializer
tmm1
mentioned this pull request
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters