8000 chore: cherry-pick d1eade9d39 from chromium by ppontes · Pull Request #30817 · electron/electron · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

chore: cherry-pick d1eade9d39 from chromium #30817

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 6, 2021

Conversation

ppontes
Copy link
Member
@ppontes ppontes commented Sep 2, 2021

[Merge M92] Speculative fix for crash in URLLoader::OnBeforeSendHeadersComplete

I wasn't able to reproduce the crash, but this should prevent crashing
when accessing an invalid pointer for the HttpRequestHeaders. Instead of
passing a raw pointer, OnBeforeStartTransaction will now take optional
headers in the callback to modify the extra headers. If the job has been
destroyed, the callback will not be run since it was bound with a
WeakPtr to the job.

(cherry picked from commit c06b3928469bfd0e0a9fa6045b95a7be70ef393f)

Bug: 1221047
Change-Id: I93d5838b778e7283f7043fd2c841844941f52a85
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3042975
Commit-Queue: Clark DuVall cduvall@chromium.org
Reviewed-by: Matt Mueller mattm@chromium.org
Cr-Original-Commit-Position: refs/heads/master@{#905539}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3108058
Auto-Submit: Clark DuVall cduvall@chromium.org
Cr-Commit-Position: refs/branch-heads/4515@{#2070}
Cr-Branched-From: 488fc70865ddaa05324ac00a54a6eb783b4bc41c-refs/heads/master@{#885287}

Notes: Security: backported fix for chromium:1221047.

@ppontes ppontes added security 🔒 semver/patch backwards-compatible bug fixes backport-check-skip Skip trop's backport validity checking 13-x-y labels Sep 2, 2021
@ppontes ppontes requested a review from a team as a code owner September 2, 2021 13:57
@ppontes ppontes force-pushed the cherry-pick/13-x-y/chromium/d1eade9d39 branch from 9838ba4 to 6a71f2a Compare September 3, 2021 14:29
@zcbenz zcbenz merged commit e1ae362 into 13-x-y Sep 6, 2021
@zcbenz zcbenz deleted the cherry-pick/13-x-y/chromium/d1eade9d39 branch September 6, 2021 23:48
@release-clerk
Copy link
release-clerk bot commented Sep 6, 2021

Release Notes Persisted

Security: backported fix for chromium:1221047.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
13-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0