Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1ad5fb31623179dafbb14cfe6dbe3a00c13c18df
https://github.com/WebKit/WebKit/commit/1ad5fb31623179dafbb14cfe6dbe3a00c13c18df
Author: Pedro Varangot <[email protected]>
Date: 2024-11-20 (Wed, 20 Nov 2024)
Changed paths:
A
LayoutTests/ipc/cfnetwork-crashes-with-string-to-string-http-headers-expected.txt
A LayoutTests/ipc/cfnetwork-crashes-with-string-to-string-http-headers.html
M Source/WebKit/Shared/Cocoa/CoreIPCNSURLRequest.mm
Log Message:
-----------
CFNetwork URLRequest::initialize(CFDictionaryRef
webKitSecureCodingDictionary) crashes when HTTP headers come in String ->
String form
https://bugs.webkit.org/show_bug.cgi?id=283307
rdar://139800100
Reviewed by Ryosuke Niwa.
Only send String -> Array HTTP headers to CFNetwork URLRequest webkit
dictionary initializer, String -> String ones will crash when CFNetwork tried
to for iterate a String
*
LayoutTests/ipc/cfnetwork-crashes-with-string-to-string-http-headers-expected.txt:
Added.
* LayoutTests/ipc/cfnetwork-crashes-with-string-to-string-http-headers.html:
Added.
* Source/WebKit/Shared/Cocoa/CoreIPCNSURLRequest.mm:
(WebKit::CoreIPCNSURLRequest::toID const):
Canonical link: https://commits.webkit.org/286883@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes