New issue
Advanced search Search tips

Issue 713501 link

Starred by 2 users

Issue metadata

Status: Verified
Owner: ----
Closed: May 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

JustifyLeft command crashes with last-child selector

Project Member Reported by ClusterFuzz, Apr 20 2017

Issue description

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

Fuzzer: inferno_layout_test_unmodified
Job Type: mac_asan_content_shell
Platform Id: mac

Crash Type: UNKNOWN READ
Crash Address: 0x000000000020
Crash State:
  blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::in
  blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::Te
  blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::ra
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=mac_asan_content_shell&range=338890:338960

Reproducer Testcase: https://clusterfuzz.com/download/AMIfv97JWTAtBtcbEnCkEQmInOPYrCldvTGWv_Nv_kCe0tBKrnrX50PD3WcvDPdPb-jV2TWIvx1D5i5r043z_LoSkvdVQ7bp2UBsthk_BD2Hnj_EHposskOS19YSfAbRAZLyn_T7gSLHtUSnxgTdwoiFhC39UaXMR02oCBlii2805jp0gbkb78gMFTDK6pR3bTvbg_t071t3EFEQSPMv6vcX54neF0oun4CtCkEc2u2ANJ3vUOu4mn9VfK21biEf5twqGNCXZGJdokp7XB1oEo5bNdKkt6bYbsgazTilsznkJvOqmhiS-rr3tvoSw4ioMfTRZ5TlFp3DRms9BrPLpXPIFFXmz-zQLoEnPTfYOET4sqNqC90Dow4?testcase_id=4742157132103680


Issue filed automatically.

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Cc: tkent@chromium.org yosin@chromium.org
Components: Blink>Editing
Labels: M-60 Test-Predator-Wrong

Comment 2 by tkent@chromium.org, Apr 20 2017

Cc: -tkent@chromium.org
Components: -Blink>Editing Blink>Editing>Command

Comment 3 by yosin@chromium.org, Apr 21 2017

Cc: -yosin@chromium.org
Labels: -Pri-1 OS-Linux OS-Windows Pri-3
Status: Available (was: Untriaged)
Summary: JustifyLeft command crashes with last-child selector (was: Crash in blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::in)
Lower to Pri-3, since real world usage of JustifyLeft command is low with last-child selector
containing visibility and display:list-item.

Hit DCHECK in CompositeEditCommand::MoveParagraph()

compositeeditcommand.cpp(1470)] Check failed: destination.DeepEquivalent().IsConnected(). INPUT class="CLASS6"@afterAnchor/TextAffinity::Downstream


starting_selection_.ShowTreeForThis()
[12828:33824:0421/105548.575:891208531:INFO:visibleselection.cpp(714)] 
SINPUT class="CLASS6"
S	#shadow-root
S		DIV id="inner-editor"
start: beforeAnchor
end: offsetInAnchor[0]

Project Member

Comment 4 by ClusterFuzz, May 17 2017

Labels: OS-Android

Comment 5 by yosin@chromium.org, May 22 2017

Bulk set to Pri-3 for cluster fuzz bugs.
Since these issues are happens with unusual HTML.

Comment 6 by yosin@chromium.org, May 23 2017

Labels: -M-60
Project Member

Comment 7 by ClusterFuzz, May 27 2017

ClusterFuzz has detected this issue as fixed in range 474922:474938.

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

Fuzzer: inferno_layout_test_unmodified
Job Type: mac_asan_content_shell
Platform Id: mac

Crash Type: Null-dereference READ
Crash Address: 0x000000000020
Crash State:
  blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::In
  blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::Te
  blink::TextIteratorAlgorithm<blink::EditingAlgorithm<blink::NodeTraversal> >::Ra
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=mac_asan_content_shell&range=338890:338960
Fixed: https://clusterfuzz.com/revisions?job=mac_asan_content_shell&range=474922:474938

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


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 8 by ClusterFuzz, May 27 2017

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

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

Sign in to add a comment