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

Issue 10820017: Adds a check to ensure that a NULL pointer from RenderViewHostImpl::FromID() is not dereferenced (Closed)

Created:
8 years, 5 months ago by Kyle Horimoto
Modified:
8 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Adds a check to ensure that a NULL pointer from RenderViewHostImpl::FromID() is not dereferenced. CID=103978 BUG=139242 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148718

Patch Set 1 #

Patch Set 2 : DCHECK(opener) --> if (opener) { /* code */ } #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M content/browser/renderer_host/render_view_host_impl.cc View 1 1 chunk +6 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Kyle Horimoto
8 years, 5 months ago (2012-07-26 17:49:32 UTC) #1
Tyler Breisacher (Chromium)
Building off what jhawkins said, the point of DCHECKs is to make the code "self-documenting" ...
8 years, 5 months ago (2012-07-26 18:19:09 UTC) #2
Kyle Horimoto
+creis (who wrote the code in question) creis, we used the static code analysis tool ...
8 years, 5 months ago (2012-07-26 18:27:32 UTC) #3
Charlie Reis
On 2012/07/26 18:27:32, Kyle Horimoto wrote: > +creis (who wrote the code in question) > ...
8 years, 5 months ago (2012-07-26 19:13:06 UTC) #4
Kyle Horimoto
On 2012/07/26 19:13:06, creis wrote: > On 2012/07/26 18:27:32, Kyle Horimoto wrote: > > +creis ...
8 years, 5 months ago (2012-07-26 23:02:20 UTC) #5
Charlie Reis
On 2012/07/26 23:02:20, Kyle Horimoto wrote: > On 2012/07/26 19:13:06, creis wrote: > > On ...
8 years, 5 months ago (2012-07-26 23:13:40 UTC) #6
Kyle Horimoto
On 2012/07/26 23:13:40, creis wrote: > On 2012/07/26 23:02:20, Kyle Horimoto wrote: > > On ...
8 years, 5 months ago (2012-07-26 23:53:13 UTC) #7
darin (slow to review)
Reading http://crbug.com/139242, my take on this issue is that we should avoid crashing the browser, ...
8 years, 5 months ago (2012-07-26 23:54:45 UTC) #8
Charlie Reis
On 2012/07/26 23:54:45, darin wrote: > Reading http://crbug.com/139242, my take on this issue is that ...
8 years, 5 months ago (2012-07-27 00:05:39 UTC) #9
darin (slow to review)
On Thu, Jul 26, 2012 at 5:05 PM, <creis@chromium.org> wrote: > On 2012/07/26 23:54:45, darin ...
8 years, 5 months ago (2012-07-27 00:09:35 UTC) #10
Charlie Reis
On 2012/07/27 00:09:35, darin wrote: > Oh, that's a great question. (Sorry if I missed ...
8 years, 5 months ago (2012-07-27 00:25:53 UTC) #11
Charlie Reis
On 2012/07/27 00:09:35, darin wrote: > Oh, that's a great question. (Sorry if I missed ...
8 years, 5 months ago (2012-07-27 00:25:53 UTC) #12
darin (slow to review)
Yeah, makes sense. LGTM!
8 years, 5 months ago (2012-07-27 03:02:22 UTC) #13
darin (slow to review)
NOTE: Please fix the CL description before committing.
8 years, 5 months ago (2012-07-27 03:02:46 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/khorimoto@chromium.org/10820017/3
8 years, 5 months ago (2012-07-27 03:08:19 UTC) #15
commit-bot: I haz the power
8 years, 5 months ago (2012-07-27 04:03:46 UTC) #16
Change committed as 148718

Powered by Google App Engine
This is Rietveld 408576698