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

Issue 383143003: Pepper: Make sure 'out' params are initialized for all code paths. (Closed)

Created:
6 years, 5 months ago by bbudge
Modified:
6 years, 5 months ago
CC:
chromium-reviews, Tom Sepez
Project:
chromium
Visibility:
Public.

Description

Pepper: Make sure 'out' params are initialized for all code paths. Change PPB_ImageData_Proxy to always initialize 'out' params, to avoid sending uninitialized memory from renderer to plugin. BUG=391023 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282692

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Don't "fix" URLUtil. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M ppapi/proxy/ppb_image_data_proxy.cc View 1 2 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
bbudge
This reverts my previous fix, which is on the wrong side of the proxy. The ...
6 years, 5 months ago (2014-07-11 15:13:23 UTC) #1
earthdok
On 2014/07/11 15:13:23, bbudge (OOO July 1-8) wrote: > This reverts my previous fix, which ...
6 years, 5 months ago (2014-07-11 15:19:34 UTC) #2
dmichael (off chromium)
lgtm https://codereview.chromium.org/383143003/diff/20001/ppapi/proxy/ppb_image_data_proxy.cc File ppapi/proxy/ppb_image_data_proxy.cc (right): https://codereview.chromium.org/383143003/diff/20001/ppapi/proxy/ppb_image_data_proxy.cc#newcode625 ppapi/proxy/ppb_image_data_proxy.cc:625: memset(desc, 0, sizeof(*desc)); *desc = PP_ImageDataDesc(); ? https://codereview.chromium.org/383143003/diff/20001/ppapi/proxy/ppb_instance_proxy.cc ...
6 years, 5 months ago (2014-07-11 15:22:26 UTC) #3
bbudge
https://codereview.chromium.org/383143003/diff/20001/ppapi/proxy/ppb_image_data_proxy.cc File ppapi/proxy/ppb_image_data_proxy.cc (right): https://codereview.chromium.org/383143003/diff/20001/ppapi/proxy/ppb_image_data_proxy.cc#newcode625 ppapi/proxy/ppb_image_data_proxy.cc:625: memset(desc, 0, sizeof(*desc)); David, the reason I've gone back ...
6 years, 5 months ago (2014-07-11 15:23:40 UTC) #4
dmichael (off chromium)
lgtm https://codereview.chromium.org/383143003/diff/20001/ppapi/proxy/ppb_image_data_proxy.cc File ppapi/proxy/ppb_image_data_proxy.cc (right): https://codereview.chromium.org/383143003/diff/20001/ppapi/proxy/ppb_image_data_proxy.cc#newcode625 ppapi/proxy/ppb_image_data_proxy.cc:625: memset(desc, 0, sizeof(*desc)); On 2014/07/11 15:23:40, bbudge (OOO ...
6 years, 5 months ago (2014-07-11 15:51:52 UTC) #5
bbudge
The CQ bit was checked by bbudge@chromium.org
6 years, 5 months ago (2014-07-11 16:01:54 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/383143003/20001
6 years, 5 months ago (2014-07-11 16:02:36 UTC) #7
bbudge
https://codereview.chromium.org/383143003/diff/20001/ppapi/proxy/ppb_image_data_proxy.cc File ppapi/proxy/ppb_image_data_proxy.cc (right): https://codereview.chromium.org/383143003/diff/20001/ppapi/proxy/ppb_image_data_proxy.cc#newcode625 ppapi/proxy/ppb_image_data_proxy.cc:625: memset(desc, 0, sizeof(*desc)); On 2014/07/11 15:51:52, dmichael wrote: > ...
6 years, 5 months ago (2014-07-11 17:01:55 UTC) #8
bbudge
The CQ bit was checked by bbudge@chromium.org
6 years, 5 months ago (2014-07-11 17:02:42 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bbudge@chromium.org/383143003/40001
6 years, 5 months ago (2014-07-11 17:03:11 UTC) #10
commit-bot: I haz the power
6 years, 5 months ago (2014-07-11 21:00:28 UTC) #11
Message was sent while issue was closed.
Change committed as 282692

Powered by Google App Engine
This is Rietveld 408576698