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

Issue 234703006: Prevent real stack overflow when handling JavaScript stack overflow (Closed)

Created:
6 years, 8 months ago by Jarin
Modified:
6 years, 8 months ago
Reviewers:
rossberg
CC:
v8-dev
Visibility:
Public.

Description

Prevent real stack overflow when handling JavaScript stack overflow In stack overflow handling, we invoke Error.stackTraceLimit to limit the size of produced stack trace. However, if there is a getter installed on the stackTraceLimit property, we may overflow again and end up in an infinite loop. This change disallows getters and setters on Error.stackTraceLimit. BUG=

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M src/messages.js View 1 chunk +3 lines, -0 lines 0 comments Download
M test/mjsunit/stack-traces-overflow.js View 2 chunks +9 lines, -1 line 0 comments Download

Messages

Total messages: 1 (0 generated)
Jarin
6 years, 8 months ago (2014-04-11 14:13:36 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698