DescriptionFix cluster-fuzz found regression in d8 Workers
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
Committed: https://crrev.com/abaa094a2b1d9e2d49bf1a704d5ebd4675160ff8
Cr-Commit-Position: refs/heads/master@{#29388}
Patch Set 1 #Messages
Total messages: 5 (1 generated)
|