You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NSDictionary.init(objects: [AnyObject], forKeys keys: [NSObject]) crashes because keyBuffer/valueBuffer are uninitialised and the Swift runtime attempts to release the uninitialised memory before assignment:
Attachment: Download
Additional Detail from JIRA
md5: db29dcc26d00ab8317144fec2875893b
blocks:
Issue Description:
NSDictionary.init(objects: [AnyObject], forKeys keys: [NSObject]) crashes because keyBuffer/valueBuffer are uninitialised and the Swift runtime attempts to release the uninitialised memory before assignment:
I can workaround it by adding the following immediately after initialisation:
But this doesn't strike me as the most idiomatically Swift way to do this. Suggestions on a better fix would be welcome.
The text was updated successfully, but these errors were encountered: