New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 715971 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
OOO until 2019-02-10
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

CHECK failure: args[1]->IsJSReceiver() in runtime-typedarray.cc

Project Member Reported by ClusterFuzz, Apr 27 2017

Issue description

Detailed report: https://clusterfuzz.com/testcase?key=5562915190210560

Fuzzer: v8_builtins_generator
Job Type: linux_asan_d8_dbg
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  args[1]->IsJSReceiver() in runtime-typedarray.cc
  
Sanitizer: address (ASAN)

Regressed: V8: 44912:44913

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=5562915190210560


Issue manually filed by: mstarzinger

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Cc: fran...@chromium.org yangguo@chromium.org
Owner: petermarshall@chromium.org
Status: Assigned (was: Untriaged)
Regression range points to c1699fdeefbd290dc068d097a9c5a420c4bb8978.
Project Member

Comment 2 by bugdroid1@chromium.org, May 2 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/v8/v8.git/+/74aa7ff308e64266ce72b04f4dfac160d44b90da

commit 74aa7ff308e64266ce72b04f4dfac160d44b90da
Author: Peter Marshall <petermarshall@chromium.org>
Date: Tue May 02 13:47:29 2017

[builtins] Fix TypedArray.Set for string inputs.

String inputs would end up in the fast-path, crashing because it
expected an array type. Add the fast path explicitly when the source is
a TypedArray, and let everything else fall back to the generic JS
implementation.

Bug:  chromium:715971 
Change-Id: Ieec28e93279047d403e00ed2676dc1eda193c033
Reviewed-on: https://chromium-review.googlesource.com/493226
Commit-Queue: Peter Marshall <petermarshall@chromium.org>
Reviewed-by: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#45034}
[modify] https://crrev.com/74aa7ff308e64266ce72b04f4dfac160d44b90da/src/js/typedarray.js
[modify] https://crrev.com/74aa7ff308e64266ce72b04f4dfac160d44b90da/test/mjsunit/es6/typedarray.js

Project Member

Comment 3 by ClusterFuzz, May 3 2017

ClusterFuzz has detected this issue as fixed in range 45033:45034.

Detailed report: https://clusterfuzz.com/testcase?key=5562915190210560

Fuzzer: v8_builtins_generator
Job Type: linux_asan_d8_dbg
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  args[1]->IsJSReceiver() in runtime-typedarray.cc
  
Sanitizer: address (ASAN)

Regressed: V8: 44912:44913
Fixed: V8: 45033:45034

Reproducer Testcase: https://clusterfuzz.com/download?testcase_id=5562915190210560


See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.

If you suspect that the result above is incorrect, try re-doing that job on the test case report page.
Status: Fixed (was: Assigned)

Sign in to add a comment