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

Issue 2686263002: [crankshaft] Fix Smi overflow in {HMaybeGrowElements}. (Closed)

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

Description

[crankshaft] Fix Smi overflow in {HMaybeGrowElements}. This fixes the case where the index passed to {HMaybeGrowElements} used to derive the new capacity for the elements backing store does not fit into Smi range. Such an overflow would fail the capacity check and cause growing to be skipped. Subsequent keyed stores would potentially go out of bounds. R=mvstanton@chromium.org TEST=mjsunit/regress/regress-crbug-686427 BUG=chromium:686427 Review-Url: https://codereview.chromium.org/2686263002 Cr-Commit-Position: refs/heads/master@{#43101} Committed: https://chromium.googlesource.com/v8/v8/+/6c12d57eada07ab019f84b2882faee6e2815a7ff

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -71 lines) Patch
M src/code-stubs-hydrogen.cc View 2 chunks +0 lines, -49 lines 0 comments Download
M src/crankshaft/arm/lithium-codegen-arm.cc View 1 chunk +9 lines, -5 lines 0 comments Download
M src/crankshaft/ia32/lithium-codegen-ia32.cc View 1 chunk +8 lines, -3 lines 0 comments Download
M src/crankshaft/mips/lithium-codegen-mips.cc View 1 chunk +11 lines, -5 lines 0 comments Download
M src/crankshaft/mips64/lithium-codegen-mips64.cc View 1 chunk +1 line, -9 lines 0 comments Download
A test/mjsunit/regress/regress-crbug-686427.js View 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
Michael Starzinger
Michael: PTAL. Jaro: FYI.
3 years, 10 months ago (2017-02-10 13:39:17 UTC) #4
Jarin
lgtm. Thanks!
3 years, 10 months ago (2017-02-10 13:47:34 UTC) #5
mvstanton
LGTM - thanks for delving into that..! --Michael
3 years, 10 months ago (2017-02-10 14:14:30 UTC) #8
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/2686263002/1
3 years, 10 months ago (2017-02-10 14:19:18 UTC) #10
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 14:21:01 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/v8/v8/+/6c12d57eada07ab019f84b2882faee6e281...

Powered by Google App Engine
This is Rietveld 408576698