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

Issue 2682943002: Create a dedicated partition for array buffers (Closed)

Created:
3 years, 10 months ago by haraken
Modified:
3 years, 10 months ago
CC:
blink-reviews, blink-reviews-wtf_chromium.org, chromium-reviews, Mikhail
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Create a dedicated partition for array buffers ArrayBuffers have a high risk where their length and/or contents are exploited from user scripts. Thus we don't want to mix ArrayBuffers and other objects that may contain pointers in the same partition. TBR=primiano@chromium.org BUG=634547 Review-Url: https://codereview.chromium.org/2682943002 Cr-Commit-Position: refs/heads/master@{#449226} Committed: https://chromium.googlesource.com/chromium/src/+/cd3f72e7cc1ad766a8357728a20f2ffdc8359f05

Patch Set 1 #

Patch Set 2 : temp #

Patch Set 3 : temp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -6 lines) Patch
M base/trace_event/memory_infra_background_whitelist.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/allocator/Partitions.h View 3 chunks +12 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/wtf/allocator/Partitions.cpp View 4 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/wtf/typed_arrays/ArrayBufferContents.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 21 (11 generated)
haraken
jochen@: PTAL The only concern is memory increase caused by the partition overhead. I guess ...
3 years, 10 months ago (2017-02-08 11:39:49 UTC) #3
jochen (gone - plz use gerrit)
lgtm
3 years, 10 months ago (2017-02-08 11:45:16 UTC) #4
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/2682943002/20001
3 years, 10 months ago (2017-02-08 11:50:20 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/362435)
3 years, 10 months ago (2017-02-08 12:56:31 UTC) #8
haraken
TBR primiano@ for base/.
3 years, 10 months ago (2017-02-09 01:28:48 UTC) #11
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/2682943002/30004
3 years, 10 months ago (2017-02-09 01:29:35 UTC) #14
slangley
On 2017/02/08 at 11:39:49, haraken wrote: > jochen@: PTAL > > The only concern is ...
3 years, 10 months ago (2017-02-09 02:59:40 UTC) #15
haraken
On 2017/02/09 02:59:40, slangley wrote: > On 2017/02/08 at 11:39:49, haraken wrote: > > jochen@: ...
3 years, 10 months ago (2017-02-09 03:59:22 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:30004) as https://chromium.googlesource.com/chromium/src/+/cd3f72e7cc1ad766a8357728a20f2ffdc8359f05
3 years, 10 months ago (2017-02-09 06:28:08 UTC) #20
Primiano Tucci (use gerrit)
3 years, 10 months ago (2017-02-09 12:43:12 UTC) #21
Message was sent while issue was closed.
base/trace_event/memory_infra_background_whitelist.cc LGTM

Powered by Google App Engine
This is Rietveld 408576698