New issue
Advanced search Search tips

Issue 627997 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Nov 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Crash in blink::Node::hasEditableStyle

Project Member Reported by ClusterFuzz, Jul 13 2016

Issue description

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

Fuzzer: inferno_layout_test_unmodified
Job Type: linux_asan_content_shell_drt
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  blink::Node::hasEditableStyle
  blink::rootEditableElement
  blink::DeleteSelectionCommand::removeRedundantBlocks
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_content_shell_drt&range=404947:405052

Minimized Testcase (0.37 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv95FHlVZfWllfc0e8UdKq89lUwZN08Ua2SwZj2bMrZPC1Tyr-IyCrJi3ucMiF4pzP9m6Jjutv7ihesJAYOUbmd1RzWoKFSImZ78rYOXizxu0cOVuglYPLSR5s7sAOO7t3CcUBNWsjr5jBxQKG2DgNR4wYxEBXQ?testcase_id=5218838237151232
  <div contenteditable="true" id="div">
   <table>
    <td>
       <br/>
       <span id="span">
        bar
  <script>
sel = window.getSelection();
sel.setBaseAndExtent(div, 0, span, span.childNodes.length);
document.execCommand("InsertOrderedList");
__v_246 = window.getSelection();
    __v_246.modify("extend", "forward", "line");
    document.execCommand("Cut");
</script>


Filer: mmohammad

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Components: Blink>DOM
Owner: yoichio@chromium.org
Status: Assigned (was: Available)
Changelist: https://chromium.googlesource.com/chromium/src//+/24ea6629ef3f75e2dc01d438729d18918a80f80b

yoichio@ could you please look into this. Thanks
Labels: -Pri-1 Pri-2
Project Member

Comment 3 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
Project Member

Comment 4 by ClusterFuzz, Nov 24 2016

ClusterFuzz has detected this issue as fixed in range 434178:434255.

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

Fuzzer: inferno_layout_test_unmodified
Job Type: linux_asan_content_shell_drt
Platform Id: linux

Crash Type: UNKNOWN READ
Crash Address: 0x000000000000
Crash State:
  blink::Node::hasEditableStyle
  blink::rootEditableElement
  blink::DeleteSelectionCommand::removeRedundantBlocks
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_content_shell_drt&range=404947:405052
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_asan_content_shell_drt&range=434178:434255

Minimized Testcase (0.37 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv95FHlVZfWllfc0e8UdKq89lUwZN08Ua2SwZj2bMrZPC1Tyr-IyCrJi3ucMiF4pzP9m6Jjutv7ihesJAYOUbmd1RzWoKFSImZ78rYOXizxu0cOVuglYPLSR5s7sAOO7t3CcUBNWsjr5jBxQKG2DgNR4wYxEBXQ?testcase_id=5218838237151232
  <div contenteditable="true" id="div">
   <table>
    <td>
       <br/>
       <span id="span">
        bar
  <script>
sel = window.getSelection();
sel.setBaseAndExtent(div, 0, span, span.childNodes.length);
document.execCommand("InsertOrderedList");
__v_246 = window.getSelection();
    __v_246.modify("extend", "forward", "line");
    document.execCommand("Cut");
</script>


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

Comment 5 by ClusterFuzz, Nov 24 2016

Labels: ClusterFuzz-Verified
Status: Verified (was: Assigned)
ClusterFuzz testcase is verified as fixed, closing issue.

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.

Sign in to add a comment