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

Issue 2236503004: Avoid casting non-content BadMessage codes to content BadMessage codes. (Closed)

Created:
4 years, 4 months ago by Charlie Reis
Modified:
4 years, 4 months ago
Reviewers:
jam, ananta
CC:
chromium-reviews, extensions-reviews_chromium.org, jam, Randy Smith (Not in Mondays), darin-cc_chromium.org, loading-reviews_chromium.org, chromium-apps-reviews_chromium.org, mmenke
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid casting non-content BadMessage codes to content BadMessage codes. This will result in using the wrong value for UMA data and in crash dumps, magic signatures, etc, leading to confusing investigations. BUG=598073 TEST=None Committed: https://crrev.com/c09e94d74f6efc174bd88195eee902b4350fc006 Cr-Commit-Position: refs/heads/master@{#411171}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -4 lines) Patch
M chrome/browser/extensions/chrome_content_browser_client_extensions_part.cc View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 chunk +3 lines, -2 lines 1 comment Download
M extensions/browser/bad_message.h View 1 chunk +0 lines, -1 line 1 comment Download

Messages

Total messages: 12 (6 generated)
Charlie Reis
Here's a quick fix to avoid the corruption I mentioned in https://codereview.chromium.org/2222723002/, to avoid reverting ...
4 years, 4 months ago (2016-08-10 21:09:50 UTC) #4
jam
lgtm, thanks for pointing out the issue and for the fix.
4 years, 4 months ago (2016-08-10 21:11:57 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2236503004/1
4 years, 4 months ago (2016-08-10 21:31:03 UTC) #8
ananta
On 2016/08/10 21:11:57, jam wrote: > lgtm, thanks for pointing out the issue and for ...
4 years, 4 months ago (2016-08-10 21:53:35 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-10 22:46:26 UTC) #10
commit-bot: I haz the power
4 years, 4 months ago (2016-08-10 22:48:00 UTC) #12
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/c09e94d74f6efc174bd88195eee902b4350fc006
Cr-Commit-Position: refs/heads/master@{#411171}

Powered by Google App Engine
This is Rietveld 408576698