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

Issue 605862 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

Unreachable code in src/regexp/jsregexp.h

Project Member Reported by ClusterFuzz, Apr 22 2016

Issue description

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=4987975527563264

Fuzzer: decoder_langfuzz
Job Type: linux_asan_d8_ignition_dbg
Platform Id: linux

Crash Type: Unreachable code
Crash Address: 
Crash State:
  src/regexp/jsregexp.h
  

Minimized Testcase (12.33 Kb): https://cluster-fuzz.appspot.com/download/AMIfv97dtASI1jgSJlA7OQC5nowiNkItegJAK469zqPokP8KoMGVVNxaM2t05r91hRzPYphUgZqQMYU6AbluPfwANPcp7gJPqHUPv1B_eMNCJTCjxDpSI944SoCP8xuBjoHAmOxqtEXTAeyd7Va9yHPIlCVA66aGhg

Filer: mstarzinger

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Not specific to Ignition. Reproduces with the following snippet ...

function replace(string) {
  return string.replace(/L/g, "\ud800")
               .replace(/l/g, "\ud801")
               .replace(/T/g, "\udc00")
               .replace(/\./g, ("Empty array []"));
}
function test(regexp_source, subject) {
  subject = replace(subject);
  regexp_source = replace(regexp_source);
  new RegExp(regexp_source, "u").exec(subject);
}
test("(L).*\\1(.)", "LLTLl");

Owner: yangguo@chromium.org
Status: Assigned (was: Available)
Yang agreed to take a look. Thanks!
Shorter repro:
/[]* /u.exec("\u1234");
Project Member

Comment 5 by ClusterFuzz, Apr 26 2016

ClusterFuzz has detected this issue as fixed in range 35763:35764.

Detailed report: https://cluster-fuzz.appspot.com/testcase?key=4987975527563264

Fuzzer: decoder_langfuzz
Job Type: linux_asan_d8_ignition_dbg
Platform Id: linux

Crash Type: Unreachable code
Crash Address: 
Crash State:
  src/regexp/jsregexp.h
  
Fixed: V8: r35763:35764

Minimized Testcase (12.33 Kb): https://cluster-fuzz.appspot.com/download/AMIfv97dtASI1jgSJlA7OQC5nowiNkItegJAK469zqPokP8KoMGVVNxaM2t05r91hRzPYphUgZqQMYU6AbluPfwANPcp7gJPqHUPv1B_eMNCJTCjxDpSI944SoCP8xuBjoHAmOxqtEXTAeyd7Va9yHPIlCVA66aGhg

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)
Project Member

Comment 7 by sheriffbot@chromium.org, Nov 22 2016

Labels: -Restrict-View-EditIssue
Removing EditIssue view restrictions from ClusterFuzz filed bugs. If you believe that this issue should still be restricted, please reapply the label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment