Skip to content

Commit

Permalink
Add DataTaskReceivedChallengeReply to the secure decoding allowlist
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=255561
rdar://108166036

Reviewed by Alex Christensen.

Add DataTaskReceivedChallengeReply to the expected messages list for
secure mode decoding of NSURLCredential.

* Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm:
(IPC::shouldEnableStrictMode):

Canonical link: https://commits.webkit.org/263047@main
  • Loading branch information
gavin-apple authored and achristensen07 committed Apr 18, 2023
1 parent 119fa0c commit 52af914
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/WebKit/Shared/Cocoa/ArgumentCodersCocoa.mm
Expand Up @@ -625,6 +625,7 @@ static bool shouldEnableStrictMode(Decoder& decoder, NSArray<Class> *allowedClas
|| decoder.messageName() == IPC::MessageName::NetworkProcessProxy_DidReceiveAuthenticationChallenge // NP -> UIP
|| decoder.messageName() == IPC::MessageName::NetworkProcessProxy_ResourceLoadDidReceiveChallenge // NP -> UIP
|| decoder.messageName() == IPC::MessageName::NetworkProcessProxy_DataTaskReceivedChallenge // NP -> UIP
|| decoder.messageName() == IPC::MessageName::NetworkProcessProxy_DataTaskReceivedChallengeReply // UIP -> NP
|| decoder.messageName() == IPC::MessageName::AuthenticationManager_CompleteAuthenticationChallenge // UIP -> NP
)
)
Expand Down

0 comments on commit 52af914

Please sign in to comment.