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

Issue 2463703006: Initialy renderer ppapi host in ppapi_unittests to fix nullptr access. (Closed)

Created:
4 years, 1 month ago by krasin1
Modified:
4 years, 1 month ago
CC:
chromium-reviews, jam, darin-cc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initialize renderer ppapi host in ppapi_unittests to fix nullptr access. Otherwise, PepperPluginInstanceImpl will call host_impl->CreateInProcessResourceCreationAPI(this) on nullptr. The bug was found by running the tests under UBSan. BUG=607996 Committed: https://crrev.com/dd5416a6158105826292b69875c214464000d7b3 Cr-Commit-Position: refs/heads/master@{#429027}

Patch Set 1 #

Patch Set 2 : Export CreateOnModuleForInProcess #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M content/renderer/pepper/renderer_ppapi_host_impl.h View 1 1 chunk +1 line, -1 line 0 comments Download
M content/test/ppapi_unittest.cc View 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 30 (19 generated)
krasin1
4 years, 1 month ago (2016-10-31 23:08:54 UTC) #2
krasin1
On 2016/10/31 23:08:54, krasin1 wrote: So, the issue here is a missing link time dependency ...
4 years, 1 month ago (2016-10-31 23:38:22 UTC) #8
krasin1
On 2016/10/31 23:38:22, krasin1 wrote: > On 2016/10/31 23:08:54, krasin1 wrote: > > So, the ...
4 years, 1 month ago (2016-11-01 02:10:28 UTC) #14
tommi (sloooow) - chröme
lgtm
4 years, 1 month ago (2016-11-01 07:05:42 UTC) #18
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/2463703006/20001
4 years, 1 month ago (2016-11-01 07:05:56 UTC) #19
krasin1
Hello Bill, can you please review and approve the content/renderer/pepper/ change? It's a one liner. ...
4 years, 1 month ago (2016-11-01 07:10:25 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/293942)
4 years, 1 month ago (2016-11-01 07:11:55 UTC) #23
bbudge
lgtm
4 years, 1 month ago (2016-11-01 15:03:37 UTC) #24
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/2463703006/20001
4 years, 1 month ago (2016-11-01 16:56:57 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-01 17:03:05 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 17:22:39 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dd5416a6158105826292b69875c214464000d7b3
Cr-Commit-Position: refs/heads/master@{#429027}

Powered by Google App Engine
This is Rietveld 408576698