commit | 1ccf6c0943e328183cb670e14d718b7461cbcb93 | [log] [tgz] |
---|---|---|
author | jgruber <jgruber@chromium.org> | Thu Apr 06 15:52:21 2017 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 06 15:52:21 2017 |
tree | 0f6e42808aef00f59d3e3f082bc3582dd7529c86 | |
parent | 9d7354f9f3061b2094a1dfe085e340d93e51477e [diff] |
[regexp] Fix two more possible shape changes on fast path This CL fixes two more cases in which a regexp could unintentionally transition to slow mode while on the fast path, leading to possible OOB accesses of lastIndex. In both cases, the fix is to re-check the shape and possibly bail to runtime. BUG=chromium:708247,v8:6210 Review-Url: https://codereview.chromium.org/2803603005 Cr-Commit-Position: refs/heads/master@{#44451}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://github.com/v8/v8/wiki
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned on the V8 wiki.