Skip to content

Commit

Permalink
fix: prevent UAF crash in setCertificateVerifyProc (#33255)
Browse files Browse the repository at this point in the history
* fix: prevent UAF crash in setCertificateVerifyProc

* fix patch
  • Loading branch information
nornagon committed Apr 6, 2022
1 parent f1d7143 commit 0dd20a2
Show file tree
Hide file tree
Showing 2 changed files with 1,797 additions and 36 deletions.
4 changes: 2 additions & 2 deletions patches/chromium/expose_setuseragent_on_networkcontext.patch
Expand Up @@ -33,10 +33,10 @@ index ab97cbf061c89be9f11dde42b7371668658208a6..718209098ee4fb6cfc9aaa1ef4af691c

} // namespace net
diff --git a/services/network/network_context.cc b/services/network/network_context.cc
index 39ff43884fbc2b6768d7ddb6e9d63031a973b8fa..5d985fc94f35a1258ecee212c56561d56a9a3ff6 100644
index eaca4d8271e9a6992721fcbfb513e20edeec2554..13299d9327b591833398a6d3a44dba5a4bb85f8e 100644
--- a/services/network/network_context.cc
+++ b/services/network/network_context.cc
@@ -1295,6 +1295,13 @@ void NetworkContext::SetNetworkConditions(
@@ -1307,6 +1307,13 @@ void NetworkContext::SetNetworkConditions(
std::move(network_conditions));
}

Expand Down

0 comments on commit 0dd20a2

Please sign in to comment.