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

Issue 12968: Fixes crash at ResourceDispatcherHost::BeginDownload... (Closed)

Created:
12 years ago by cpu_(ooo_6.6-7.5)
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fixes crash at ResourceDispatcherHost::BeginDownload - It is a 'planned' crash in a CHECK(false) - Now is a bug because the user can trigger it by alt-click in a <a href=data:xxxxx > The codepath in question skips all the checks we do in the downloadmanager and on the UI command handlers. BUG=5112 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=7069

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -5 lines) Patch
M chrome/browser/resource_dispatcher_host.cc View 2 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
cpu_(ooo_6.6-7.5)
12 years ago (2008-12-04 23:31:24 UTC) #1
Nicolas Sylvain
We explicitly added the check because we wanted to know when someone was not calling ...
12 years ago (2008-12-04 23:56:46 UTC) #2
cpu_(ooo_6.6-7.5)
The call stack is just this: 1 ResourceDispatcherHost::BeginDownload 2 ResourceMessageFilter::OnDownloadUrl 3 IPC::MessageWithTuple (message from renderer) ...
12 years ago (2008-12-05 01:54:09 UTC) #3
cpu_(ooo_6.6-7.5)
Lonely CL seeking some love. On 2008/12/05 01:54:09, cpu wrote: > The call stack is ...
12 years ago (2008-12-12 01:38:50 UTC) #4
darin (slow to review)
seems OK to me given that we just early return in the RendererSecurityPolicy case too.
12 years ago (2008-12-12 15:44:17 UTC) #5
Nicolas Sylvain
12 years ago (2008-12-12 21:13:49 UTC) #6
lgtm ;)

Powered by Google App Engine
This is Rietveld 408576698