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

Issue 2835193008: Null check instance_ in PepperWebPluginImpl to prevent re-entry NPE (Closed)

Created:
3 years, 7 months ago by pdr.
Modified:
3 years, 7 months ago
Reviewers:
bbudge, raymes
CC:
chromium-reviews, darin-cc_chromium.org, jam, mlamouri+watch-content_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Null check instance_ in PepperWebPluginImpl to prevent re-entry NPE This patch fixes many NPEs in PepperWebPluginImpl where Sergeant Pepper forgot to check the instance before using it. The instance may be null due to re-entry and a comment has been added about this. BUG=715747 Review-Url: https://codereview.chromium.org/2835193008 Cr-Commit-Position: refs/heads/master@{#467817} Committed: https://chromium.googlesource.com/chromium/src/+/c7a827953ea89e6c314956119514fa3acd69eba6

Patch Set 1 #

Patch Set 2 : All the checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -8 lines) Patch
M content/renderer/pepper/pepper_webplugin_impl.cc View 1 7 chunks +82 lines, -8 lines 0 comments Download

Messages

Total messages: 22 (13 generated)
pdr.
3 years, 7 months ago (2017-04-26 21:14:23 UTC) #2
raymes
This looks similar to the case described in PepperWebPluginImpl::V8ScriptableObject where if you look in the ...
3 years, 7 months ago (2017-04-27 00:37:40 UTC) #7
pdr.
On 2017/04/27 at 00:37:40, raymes wrote: > This looks similar to the case described in ...
3 years, 7 months ago (2017-04-27 01:42:40 UTC) #8
raymes
On 2017/04/27 01:42:40, pdr. wrote: > On 2017/04/27 at 00:37:40, raymes wrote: > > This ...
3 years, 7 months ago (2017-04-27 02:05:33 UTC) #9
pdr.
On 2017/04/27 at 02:05:33, raymes wrote: > On 2017/04/27 01:42:40, pdr. wrote: > > On ...
3 years, 7 months ago (2017-04-27 19:01:47 UTC) #11
pdr.
(compile failures are an ongoing infrastructure failure)
3 years, 7 months ago (2017-04-27 22:00:52 UTC) #16
raymes
lgtm
3 years, 7 months ago (2017-04-27 23:36:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2835193008/20001
3 years, 7 months ago (2017-04-28 01:43:19 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-04-28 01:51:55 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/c7a827953ea89e6c314956119514...

Powered by Google App Engine
This is Rietveld 408576698