RESOLVED FIXED196388
CFDictionary encoder crashes on non-string keys
https://bugs.webkit.org/show_bug.cgi?id=196388
Summary CFDictionary encoder crashes on non-string keys
Timothy Hatcher
Reported 2019-03-28 20:30:14 PDT
Crashing on exception: -[__NSCFNumber length]: unrecognized selector sent to instance 0xdb1a3f98a109385 Application Specific Backtrace 1: 0 CoreFoundation 0x00007fff45b1bc03 __exceptionPreprocess + 250 1 libobjc.A.dylib 0x00007fff7af91a56 objc_exception_throw + 48 2 CoreFoundation 0x00007fff45bad30d -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x00007fff45ba646a ___forwarding___.cold.3 + 10 4 CoreFoundation 0x00007fff45ac2e4f ___forwarding___ + 1422 5 CoreFoundation 0x00007fff45ac2838 _CF_forwarding_prep_0 + 120 6 WebKit 0x00007fff55b1b17e _ZN3IPC6encodeERNS_7EncoderEPK10__CFString + 34 7 WebKit 0x00007fff55b1af71 _ZN3IPC6encodeERNS_7EncoderEPK14__CFDictionary + 292 8 WebKit 0x00007fff55b1af93 _ZN3IPC6encodeERNS_7EncoderEPK14__CFDictionary + 326 9 WebKit 0x00007fff55c51e80 _ZNK6WebKit21PlatformPopupMenuData6encodeERN3IPC7EncoderE + 18 10 WebKit 0x00007fff55eba8a4 _ZN3IPC10Connection4sendIN8Messages12WebPageProxy13ShowPopupMenuEEEbOT_yN3WTF9OptionSetINS_10SendOptionEEE + 98 <rdar://problem/49339242>
Attachments
Patch (4.70 KB, patch)
2019-03-28 20:35 PDT, Timothy Hatcher
no flags
Radar WebKit Bug Importer
Comment 1 2019-03-28 20:31:39 PDT Comment hidden (obsolete)
Timothy Hatcher
Comment 2 2019-03-28 20:35:18 PDT
Timothy Hatcher
Comment 3 2019-03-28 20:38:54 PDT Comment hidden (obsolete)
WebKit Commit Bot
Comment 4 2019-03-28 21:57:17 PDT
Comment on attachment 366241 [details] Patch Clearing flags on attachment: 366241 Committed r243640: <https://trac.webkit.org/changeset/243640>
WebKit Commit Bot
Comment 5 2019-03-28 21:57:19 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.