Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Issue 2199333002: Fix an OOB read through CallSite.GetFunctionName (Closed)

Created:
4 years, 4 months ago by jgruber
Modified:
4 years, 4 months ago
Reviewers:
ahaas, Yang
CC:
Michael Hablich, v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

Fix an OOB read through CallSite.GetFunctionName The func_index parameter passed to GetWasmFunctionNameFromTable can be user-controlled through the CallSite constructor. Catch out-of-bounds reads and return null as the function name in such cases. This applies to the 5.3 branch and will be reverted on TOT in a bit. BUG=632965 Committed: https://crrev.com/8592c450a68581d7257c1b2002983c0092cd749a Cr-Commit-Position: refs/heads/master@{#38276}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/wasm/wasm-function-name-table.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (10 generated)
jgruber
This is for fixing the issue in beta. We can revert this after it's been ...
4 years, 4 months ago (2016-08-03 06:53:19 UTC) #6
Yang
On 2016/08/03 06:53:19, jgruber wrote: > This is for fixing the issue in beta. We ...
4 years, 4 months ago (2016-08-03 07:26:51 UTC) #8
ahaas
lgtm
4 years, 4 months ago (2016-08-03 07:31:52 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2199333002/1
4 years, 4 months ago (2016-08-03 07:33:00 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-08-03 07:34:39 UTC) #14
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/8592c450a68581d7257c1b2002983c0092cd749a Cr-Commit-Position: refs/heads/master@{#38276}
4 years, 4 months ago (2016-08-03 07:35:33 UTC) #16
jgruber
4 years, 4 months ago (2016-08-08 07:24:07 UTC) #17
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.chromium.org/2225773002/ by jgruber@chromium.org.

The reason for reverting is: We can revert this now that it's landed on 5.3..

Powered by Google App Engine
This is Rietveld 408576698