New issue
Advanced search Search tips

Issue 840520 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug



Sign in to add a comment

TextOffsetMapping calls PlainText() with bad arguments

Project Member Reported by ClusterFuzz, May 7 2018

Issue description

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

Fuzzer: ifratric-browserfuzzer-v3
Job Type: linux_ubsan_chrome
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000200
Crash State:
  blink::DocumentLifecycle::DisallowTransitionScope::DisallowTransitionScope
  CreatePlainText<blink::EditingAlgorithm<blink::FlatTreeTraversal>
  blink::PlainText
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=550102:550107

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

Issue filed automatically.

See https://github.com/google/clusterfuzz-tools for more information.
 
Project Member

Comment 1 by ClusterFuzz, May 7 2018

Components: Blink>DOM Blink>Editing
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 2 by ClusterFuzz, May 7 2018

Labels: Test-Predator-Auto-Owner
Owner: yosin@chromium.org
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/1324be868df000cb2e070199ce2d10cd0c5a2706 (Make NextWordPosition() to utilize TextOffsetMapping).

If this is incorrect, please let us know why and apply the Test-Predator-Wrong-CLs label. If you aren't the correct owner for this issue, please unassign yourself as soon as possible so it can be re-triaged.

Comment 3 by yosin@chromium.org, May 9 2018

Components: -Blink>Editing -Blink>DOM Blink>Editing>Selection
Status: Started (was: Assigned)
Summary: TextOffsetMapping calls PlainText() with bad arguments (was: Null-dereference READ in blink::DocumentLifecycle::DisallowTransitionScope::DisallowTransitionScope)

Comment 4 by yosin@chromium.org, May 10 2018

Status: Fixed (was: Started)
http://crrev.com/c/1018923 should fix this issue.
Project Member

Comment 5 by ClusterFuzz, May 10 2018

ClusterFuzz has detected this issue as fixed in range 557408:557410.

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

Fuzzer: ifratric-browserfuzzer-v3
Job Type: linux_ubsan_chrome
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000200
Crash State:
  blink::DocumentLifecycle::DisallowTransitionScope::DisallowTransitionScope
  CreatePlainText<blink::EditingAlgorithm<blink::FlatTreeTraversal>
  blink::PlainText
  
Sanitizer: undefined (UBSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=550102:550107
Fixed: https://clusterfuzz.com/revisions?job=linux_ubsan_chrome&range=557408:557410

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

See https://github.com/google/clusterfuzz-tools 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 6 by ClusterFuzz, May 10 2018

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

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

Sign in to add a comment