New issue
Advanced search Search tips

Issue 727274 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Mac
Pri: 3
Type: Bug



Sign in to add a comment

InsertOrderedList crashes with OL containing FORM

Project Member Reported by ClusterFuzz, May 29 2017

Issue description

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

Fuzzer: inferno_layout_test_unmodified
Job Type: linux_asan_chrome_v8_arm
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x00000008
Crash State:
  blink::Node::IsDescendantOf
  blink::CompositeEditCommand::CloneParagraphUnderNewElement
  blink::CompositeEditCommand::MoveParagraphWithClones
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_asan_chrome_v8_arm&range=338684:338816

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


Issue filed automatically.

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

Comment 1 by ClusterFuzz, May 29 2017

Labels: OS-Windows OS-Mac
Project Member

Comment 2 by ClusterFuzz, Jun 8 2017

Labels: OS-Android
Components: Blink>Editing

Comment 4 by yosin@chromium.org, Jun 12 2017

Components: -Blink>Editing Blink>Editing>Command
Status: Available (was: Untriaged)
Summary: InsertOrderedList crashes with OL containing FORM (was: Null-dereference READ in blink::Node::IsDescendantOf)
Lower to Pri-3 because real world usage of InsertUnorderList is low.

The root cause is |VisiblePosition::FirstPositionInNode(OL)| returns null-Position in
InsertListCommand::DoApplyForSingleParagraph() as an argument of |MoveParagraphWithClone()|.

DOM tree is:
BODY (editable) (focused)
	UL (editable)
		LI (editable)
			#text "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"
	DIV class="CLASS12"
		#text "\nAxBxC\n"
	#text "\n"
	UL (editable)
*	OL class="CLASS3" (editable)
		#text "\n"
		FORM class="CLASS4 CLASS12"
			#text "\n"
		#text "\nAxBxC b"

Comment 5 by yosin@chromium.org, Jun 12 2017

Labels: -Pri-1 Pri-3
Project Member

Comment 6 by ClusterFuzz, Jan 19 2018

Components: Blink>DOM
Labels: Test-Predator-Auto-Components
Automatically applying components based on crash stacktrace and information from OWNERS files.

If this is incorrect, please apply the Test-Predator-Wrong-Components label.
Project Member

Comment 7 by ClusterFuzz, Jan 31 2018

Status: WontFix (was: Available)
ClusterFuzz testcase 4841925629968384 is flaky and no longer crashes, so closing issue.

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

Sign in to add a comment