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

Issue 6246055: Do proper security checks when accessing elements with getOwnPropertyDescriptor. (Closed)

Created:
9 years, 10 months ago by antonm
Modified:
9 years, 4 months ago
CC:
v8-dev
Visibility:
Public.

Description

Do proper security checks when accessing elements with getOwnPropertyDescriptor. This extends logic applied to regular properties to elements. Committed: http://code.google.com/p/v8/source/detail?r=6626

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing Mads' comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -10 lines) Patch
M src/runtime.cc View 1 5 chunks +25 lines, -8 lines 0 comments Download
M test/cctest/test-api.cc View 1 5 chunks +84 lines, -2 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
antonm
Mads and Rico, may you have a look? Changes in objects.cc and get-own-property-descriptor.js are from ...
9 years, 10 months ago (2011-02-02 20:41:13 UTC) #1
Mads Ager (chromium)
LGTM http://codereview.chromium.org/6246055/diff/1/src/runtime.cc File src/runtime.cc (right): http://codereview.chromium.org/6246055/diff/1/src/runtime.cc#newcode718 src/runtime.cc:718: // FIXME: we should traverse hidden prototype hierachy ...
9 years, 10 months ago (2011-02-03 08:14:26 UTC) #2
antonm
9 years, 10 months ago (2011-02-03 15:21:50 UTC) #3
http://codereview.chromium.org/6246055/diff/1/src/runtime.cc
File src/runtime.cc (right):

http://codereview.chromium.org/6246055/diff/1/src/runtime.cc#newcode718
src/runtime.cc:718: // FIXME: we should traverse hidden prototype hierachy as
well.
On 2011/02/03 08:14:26, Mads Ager wrote:
> Please file a bug and use TODO(bugnumber):

Done.

Powered by Google App Engine
This is Rietveld 408576698