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

Issue 2655013002: [Builtins] Smi-check the spread and go to runtime in CheckSpreadAndPushToStack. (Closed)

Created:
3 years, 10 months ago by petermarshall
Modified:
3 years, 10 months ago
Reviewers:
Benedikt Meurer
CC:
v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, v8-reviews_googlegroups.com, v8-x87-ports_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Builtins] Smi-check the spread and go to runtime in CheckSpreadAndPushToStack. We did not smi-check the spread argument here, meaning we tried to take the map of a smi, resulting in segfaults which clusterfuzz found. Also added tests that exercise this path. BUG=685086 Review-Url: https://codereview.chromium.org/2655013002 Cr-Commit-Position: refs/heads/master@{#42657} Committed: https://chromium.googlesource.com/v8/v8/+/bf782ec5124ff26d15a2bd413a4186ba20561e6d

Patch Set 1 #

Patch Set 2 : Put a try/catch in the regression test so it doesn't fail #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -7 lines) Patch
M src/builtins/arm/builtins-arm.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/builtins/arm64/builtins-arm64.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/builtins/ia32/builtins-ia32.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/builtins/mips/builtins-mips.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/builtins/mips64/builtins-mips64.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/builtins/x64/builtins-x64.cc View 1 chunk +2 lines, -1 line 0 comments Download
M src/builtins/x87/builtins-x87.cc View 1 chunk +2 lines, -1 line 0 comments Download
M test/mjsunit/es6/spread-call.js View 2 chunks +6 lines, -0 lines 0 comments Download
A test/mjsunit/regress/regress-685086.js View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (10 generated)
petermarshall
PTAL =]
3 years, 10 months ago (2017-01-25 12:45:27 UTC) #5
Benedikt Meurer
LGTM
3 years, 10 months ago (2017-01-25 12:51:28 UTC) #6
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/2655013002/20001
3 years, 10 months ago (2017-01-25 13:01:52 UTC) #11
commit-bot: I haz the power
3 years, 10 months ago (2017-01-25 13:56:08 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/v8/v8/+/bf782ec5124ff26d15a2bd413a4186ba205...

Powered by Google App Engine
This is Rietveld 408576698