New issue
Advanced search Search tips

Issue 609650 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

JustifyRight command uses dangling position

Project Member Reported by ClusterFuzz, May 5 2016

Issue description

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

Fuzzer: inferno_layout_test_unmodified
Job Type: linux_debug_content_shell_drt
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  CHECK failed: positionWithAffinity.position().inShadowIncludingDocument(). BR@be
  blink::VisiblePositionTemplate<>::create
  blink::createVisiblePosition
  

Minimized Testcase (0.17 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv94WzJ6iGfdiAKqlq0qNyxagW8xr-IeBsQsUet3-nYYpztWhoz9DcKRYOGD6LgW-YbACrm__nQw5wItXDcCiloNbOGca12p4Ygax7pLw3f7HqJcYbDiNnpoUpihWLxhFxEif0Fen7DKVDDHDeOlH9peYIz9bfA
Pass. WebKit didn't crash.<ul><br><br><script>
;

    document.execCommand("SelectAll");
    document.designMode = "on";
    document.execCommand("JustifyRight");
</script>


Filer: manoranjanr

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Components: Tools>Test>FindIt>NoResult
Labels: Te-Logged
Owner: yosin@chromium.org
Status: Assigned (was: Available)
yosin@, could you please look into this change (https://chromium.googlesource.com/chromium/src/+/bd9019df015f63a4264179042fd2a23d2e0ebd3e%5E%21/third_party/WebKit/Source/core/editing/VisiblePosition.cpp) if possible?

Thank you!

Comment 2 by yosin@chromium.org, May 23 2016

Components: Blink>Editing>Command
Labels: -Pri-1 Pri-2
Owner: ----
Status: Available (was: Assigned)
Summary: JustifyRight command uses dangling position (was: CHECK failed: positionWithAffinity.position().inShadowIncludingDocument(). BR@be)
Lower to Pri-2, since real world usage of JustifyRight command is low.
Project Member

Comment 3 by ClusterFuzz, Jul 23 2016

ClusterFuzz has detected this issue as fixed in range 406809:407197.

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

Fuzzer: inferno_layout_test_unmodified
Job Type: linux_debug_content_shell_drt
Platform Id: linux

Crash Type: CHECK failure
Crash Address: 
Crash State:
  positionWithAffinity.position().inShadowIncludingDocument(). BR@beforeAnchor/Tex
  blink::VisiblePositionTemplate<>::create
  blink::createVisiblePosition
  
Regressed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_content_shell_drt&range=389884:390111
Fixed: https://cluster-fuzz.appspot.com/revisions?job=linux_debug_content_shell_drt&range=406809:407197

Minimized Testcase (0.17 Kb):
Download: https://cluster-fuzz.appspot.com/download/AMIfv94KXBh8IlpjDbNJ8Lotxr8y-Q4sn7g8u_-vIfEANsiXvym8nDYIHknXyITHaahg-3MYG6XT3FGhdOQOL323vW93WY4uNC1nu2YVPaJN5RkhpFSjHACJiOqM45HIm68vQvt-_yj-jertM6nXjZ40k9Kh1W2vOA?testcase_id=6168770275442688
Pass. WebKit didn't crash.<ul><br><br><script>
    document.execCommand("SelectAll");
    document.designMode = "on";
    document.execCommand("JustifyRight");
</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 4 by ClusterFuzz, Jul 23 2016

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

If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
Components: -Tools>Test>FindIt>NoResult
Project Member

Comment 6 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