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

Issue 2206313002: Handle stack overflows in NoSideEffectToString (Closed)

Created:
4 years, 4 months ago by jgruber
Modified:
4 years, 4 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Handle stack overflows in NoSideEffectToString An infinite recursion can be triggered when NoSideEffectToString is called on an error object with its name property set to itself. BUG=633998 Committed: https://crrev.com/ea6b9609a67b78f5f8d327c578e931d4db2a5268 Cr-Commit-Position: refs/heads/master@{#38325}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Disallow recursion in NoSideEffectToString #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -7 lines) Patch
M src/objects.cc View 1 2 chunks +8 lines, -7 lines 0 comments Download
A test/mjsunit/regress/regress-633998.js View 1 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (11 generated)
jgruber
4 years, 4 months ago (2016-08-03 16:21:07 UTC) #4
Yang
https://codereview.chromium.org/2206313002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2206313002/diff/1/src/objects.cc#newcode239 src/objects.cc:239: : Object::NoSideEffectsToString(isolate, name); Can we simply break the recursion ...
4 years, 4 months ago (2016-08-04 06:36:19 UTC) #7
jgruber
https://codereview.chromium.org/2206313002/diff/1/src/objects.cc File src/objects.cc (right): https://codereview.chromium.org/2206313002/diff/1/src/objects.cc#newcode239 src/objects.cc:239: : Object::NoSideEffectsToString(isolate, name); On 2016/08/04 06:36:19, Yang wrote: > ...
4 years, 4 months ago (2016-08-04 07:12:06 UTC) #10
Yang
LGTM. Let's pray to the LayoutTest gods that they don't have any hard-coded expectations about ...
4 years, 4 months ago (2016-08-04 07:18:05 UTC) #11
jgruber
On 2016/08/04 07:18:05, Yang wrote: > LGTM. Let's pray to the LayoutTest gods that they ...
4 years, 4 months ago (2016-08-04 07:36:07 UTC) #14
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/2206313002/20001
4 years, 4 months ago (2016-08-04 07:36:33 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-04 07:42:28 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-04 07:45:21 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ea6b9609a67b78f5f8d327c578e931d4db2a5268
Cr-Commit-Position: refs/heads/master@{#38325}

Powered by Google App Engine
This is Rietveld 408576698