• mstarzinger's avatar
    [crankshaft] Fix Smi overflow in {HMaybeGrowElements}. · 6c12d57e
    mstarzinger authored
    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}
    6c12d57e
Name
Last commit
Last update
..
OWNERS Loading commit data...
lithium-codegen-mips.cc Loading commit data...
lithium-codegen-mips.h Loading commit data...
lithium-gap-resolver-mips.cc Loading commit data...
lithium-gap-resolver-mips.h Loading commit data...
lithium-mips.cc Loading commit data...
lithium-mips.h Loading commit data...