commit | 7b2ae5555f9bd97c7902dee4fc491a7bf2d06bb6 | [log] [tgz] |
---|---|---|
author | Bryan Ferris <bferris@google.com> | Tue Mar 05 14:38:25 2019 -0800 |
committer | Bryan Ferris <bferris@google.com> | Wed Mar 06 14:59:50 2019 -0800 |
tree | f715362a9639c1198bfe45a000e878efc075b569 | |
parent | ef942a244dd8b1c9b3707430b826c90ef79a897a [diff] |
[RESTRICT AUTOMERGE] Fix OOB Access in libpac Bug: 117554758 Test: /data/nativetest/proxy_resolver_v8_unittest/proxy_resolver_v8_unittest Test: gts-tradefed run gts --test \ com.google.android.gts.devicepolicy.DeviceOwnerTest#testProxyPacProxyTest \ --module GtsGmscoreHostTestCases Test: PoC from bug report From upstream commit (https://chromium.googlesource.com/v8/v8.git/+/389539ca30406101971745820d3105e7f39bb772%5E%21/#F0): """ Fix type of String#indexOf and String#lastIndexOf. The Typer put the wrong type on String#index and String#lastIndexOf builtins, with an off by one on the upper bound. """ Change-Id: I6230c1b764cacf9349317ad5870d7a679600d7d5
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.