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

Issue 822005: Fix a crash reported in ChromeFrame on the crash server, which occurs because... (Closed)

Created:
10 years, 9 months ago by ananta
Modified:
9 years, 6 months ago
Reviewers:
amit
CC:
chromium-reviews, amit
Visibility:
Public.

Description

Fix a crash reported in ChromeFrame on the crash server, which occurs because the VARIANT representing the URL has a NULL bstrVal. Fix is to check for the same. Fixes bug http://code.google.com/p/chromium/issues/detail?id=37872 Bug=37872 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41208

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -10 lines) Patch
M chrome_frame/bho.cc View 1 2 1 chunk +15 lines, -10 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
ananta
10 years, 9 months ago (2010-03-10 20:05:14 UTC) #1
amit
10 years, 9 months ago (2010-03-10 20:10:00 UTC) #2
lg

http://codereview.chromium.org/822005/diff/4001/5001
File chrome_frame/bho.cc (right):

http://codereview.chromium.org/822005/diff/4001/5001#newcode106
chrome_frame/bho.cc:106: if (url->vt != VT_BSTR || url->bstrVal == NULL) {
nit: We could check this at the top. Nothing else need to be done otherwise.
Also, safer to check for url first b4 checking for url->vt.

Powered by Google App Engine
This is Rietveld 408576698