[Webkit-unassigned] [Bug 283307] New: CFNetwork URLRequest::initialize(CFDictionaryRef webKitSecureCodingDictionary) crashes when HTTP headers come in String -> String form
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 18 11:32:18 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=283307
Bug ID: 283307
Summary: CFNetwork URLRequest::initialize(CFDictionaryRef
webKitSecureCodingDictionary) crashes when HTTP
headers come in String -> String form
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: pvarangot at apple.com
This is because it's iterating them like this:
[headerFields enumerateKeysAndObjectsUsingBlock:^(NSString *name, NSArray<NSString *> *values, BOOL *stop) {
for (NSString * value in values) {
and that will call countByEnumeratingWithState:objects:count: on a String (it's an array method) and crash with invalid selector.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20241118/95c21cc0/attachment.htm>
More information about the webkit-unassigned
mailing list