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

Issue 171050: Fix for crash bug in PluginProcessHost::OnGetCookies - it likes like this can... (Closed)

Created:
11 years, 4 months ago by robertshield
Modified:
9 years, 6 months ago
Reviewers:
jam, ananta
CC:
chromium-reviews_googlegroups.com, darin (slow to review), Ben Goodger (Google)
Visibility:
Public.

Description

Fix for crash bug in PluginProcessHost::OnGetCookies - it likes like this can be called when we don't have a URLContext from which to return cookies. Previously we crashed, this patch just logs an error and returns an empty string instead. BUG=http://crbug.com/10706 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=23568

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M chrome/browser/plugin_process_host.cc View 2 chunks +7 lines, -1 line 3 comments Download

Messages

Total messages: 5 (0 generated)
robertshield
11 years, 4 months ago (2009-08-17 17:55:52 UTC) #1
jam
http://codereview.chromium.org/171050/diff/1/2 File chrome/browser/plugin_process_host.cc (right): http://codereview.chromium.org/171050/diff/1/2#newcode532 Line 532: *cookies = context->cookie_store()->GetCookies(url); the first check is not ...
11 years, 4 months ago (2009-08-17 18:05:40 UTC) #2
robertshield
http://codereview.chromium.org/171050/diff/1/2 File chrome/browser/plugin_process_host.cc (right): http://codereview.chromium.org/171050/diff/1/2#newcode532 Line 532: *cookies = context->cookie_store()->GetCookies(url); On 2009/08/17 18:05:41, John Abd-El-Malek ...
11 years, 4 months ago (2009-08-17 18:10:34 UTC) #3
jam
http://codereview.chromium.org/171050/diff/1/2 File chrome/browser/plugin_process_host.cc (right): http://codereview.chromium.org/171050/diff/1/2#newcode532 Line 532: *cookies = context->cookie_store()->GetCookies(url); On 2009/08/17 18:10:35, robertshield wrote: ...
11 years, 4 months ago (2009-08-17 18:19:08 UTC) #4
ananta
11 years, 4 months ago (2009-08-17 18:50:31 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698