Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Issue 2543203002: Fix memory corruption related to load blocking resource move (Closed)

Created:
4 years ago by Yoav Weiss
Modified:
4 years ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2924
Project:
chromium
Visibility:
Public.

Description

Fix memory corruption related to load blocking resource move This fixes an issue where a resource loader belonging to one ResourceFetcher was accidentally added as a blocking loader to another ResourceFetcher, by checking the loader is part of the already non-blocking loaders belonging to current ResourceFetcher. This also adds DCHECKs on a couple of methods removing loaders from hashmaps, to make sure we're not trying to remove a nullptr. BUG=666563 Review-Url: https://codereview.chromium.org/2537303003 Cr-Commit-Position: refs/heads/master@{#435573} (cherry picked from commit 7497990e6eb19dc8dd61de4f188553c9c054cef9) Committed: https://chromium.googlesource.com/chromium/src/+/d63d800a8ab17eb1174bdbc8f13afa1ffb10193f

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -0 lines) Patch
M third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp View 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp View 1 chunk +26 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
Yoav Weiss
4 years ago (2016-12-02 12:00:32 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
d63d800a8ab17eb1174bdbc8f13afa1ffb10193f.

Powered by Google App Engine
This is Rietveld 408576698