• binji's avatar
    Fix cluster-fuzz found regression in d8 Workers · abaa094a
    binji authored
    v8::Internal::List will DCHECK when indexing out of the array, even if just to
    get the address, and the value is never used. So this construct will fail:
    
        memcpy(p, &data[0], length);
    
    When data is empty and length is 0.
    
    BUG=chromium:505778
    R=mstarzinger@chromium.org
    LOG=n
    
    Review URL: https://codereview.chromium.org/1216853003
    
    Cr-Commit-Position: refs/heads/master@{#29388}
    abaa094a
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
promises-aplus Loading commit data...
simdjs Loading commit data...
test262 Loading commit data...
test262-es6 Loading commit data...
unittests Loading commit data...
webkit Loading commit data...