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

Issue 1566713004: Fix a null AppCacheBackendImpl ptr crash in CompleteCrossSiteTransfer and re… (Closed)

Created:
4 years, 11 months ago by michaeln
Modified:
4 years, 11 months ago
Reviewers:
jsbell, nasko
CC:
chromium-reviews, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix a null AppCacheBackendImpl ptr crash in AppCacheRequestHandler::CompleteCrossSiteTransfer. The crash was caused by a storage partition mismatch. Now instead of the browser crashing, we report instances of the mismatch using bad_message mechanism which terminates the offending child process. BUG=568439 TBR=isherman Committed: https://crrev.com/054c2fd45d455f7df0ed30a19c32a97f681be6fc Cr-Commit-Position: refs/heads/master@{#369927}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : bad_message #

Total comments: 1

Patch Set 4 : doc comment #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -3 lines) Patch
M content/browser/appcache/appcache_interceptor.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/appcache/appcache_interceptor.cc View 1 2 3 4 2 chunks +10 lines, -1 line 0 comments Download
M content/browser/appcache/appcache_request_handler.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/appcache/appcache_request_handler.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/bad_message.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 35 (16 generated)
michaeln
ptal I'm not sure the circumstance in which this happens but apparently it does when ...
4 years, 11 months ago (2016-01-07 00:08:27 UTC) #2
nasko
On 2016/01/07 00:08:27, michaeln wrote: > ptal > > I'm not sure the circumstance in ...
4 years, 11 months ago (2016-01-07 00:27:02 UTC) #3
michaeln
On 2016/01/07 00:27:02, nasko wrote: > On 2016/01/07 00:08:27, michaeln wrote: > > ptal > ...
4 years, 11 months ago (2016-01-07 01:47:00 UTC) #4
michaeln
On 2016/01/07 01:47:00, michaeln wrote: > On 2016/01/07 00:27:02, nasko wrote: > > On 2016/01/07 ...
4 years, 11 months ago (2016-01-07 23:51:38 UTC) #5
michaeln
ptal, using bad_message as mentioned in crbug
4 years, 11 months ago (2016-01-14 22:42:32 UTC) #6
jsbell
lgtm https://codereview.chromium.org/1566713004/diff/40001/content/browser/appcache/appcache_request_handler.h File content/browser/appcache/appcache_request_handler.h (right): https://codereview.chromium.org/1566713004/diff/40001/content/browser/appcache/appcache_request_handler.h#newcode61 content/browser/appcache/appcache_request_handler.h:61: bool SanityCheckIsSameService(AppCacheService* service) { Add brief documentation here, ...
4 years, 11 months ago (2016-01-14 22:52:29 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1566713004/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1566713004/60001
4 years, 11 months ago (2016-01-15 00:06:02 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/135861)
4 years, 11 months ago (2016-01-15 00:30:49 UTC) #13
michaeln
ooops, @nasko need a content owner approval too
4 years, 11 months ago (2016-01-15 01:38:02 UTC) #14
nasko
LGTM once a typo is fixed. https://codereview.chromium.org/1566713004/diff/60001/content/browser/appcache/appcache_interceptor.cc File content/browser/appcache/appcache_interceptor.cc (right): https://codereview.chromium.org/1566713004/diff/60001/content/browser/appcache/appcache_interceptor.cc#newcode89 content/browser/appcache/appcache_interceptor.cc:89: bad_message::ACI_WRONG_STORAGE_PARITION); You have ...
4 years, 11 months ago (2016-01-15 19:38:24 UTC) #15
michaeln
https://codereview.chromium.org/1566713004/diff/60001/content/browser/bad_message.h File content/browser/bad_message.h (right): https://codereview.chromium.org/1566713004/diff/60001/content/browser/bad_message.h#newcode133 content/browser/bad_message.h:133: // reason. After making changes, you MUST update histograms.xml ...
4 years, 11 months ago (2016-01-15 21:31:23 UTC) #16
michaeln
> thnx, i'll update histograms.xml too TBR'ing isherman for the histograms change
4 years, 11 months ago (2016-01-15 22:15:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1566713004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1566713004/80001
4 years, 11 months ago (2016-01-15 22:16:27 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/9480)
4 years, 11 months ago (2016-01-15 23:53:59 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1566713004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1566713004/100001
4 years, 11 months ago (2016-01-16 00:09:34 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/118004) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 11 months ago (2016-01-16 00:11:22 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1566713004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1566713004/120001
4 years, 11 months ago (2016-01-16 01:14:54 UTC) #31
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2016-01-16 02:33:59 UTC) #33
commit-bot: I haz the power
4 years, 11 months ago (2016-01-16 02:34:58 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/054c2fd45d455f7df0ed30a19c32a97f681be6fc
Cr-Commit-Position: refs/heads/master@{#369927}

Powered by Google App Engine
This is Rietveld 408576698