New issue
Advanced search Search tips

Issue 830246 link

Starred by 2 users

Issue metadata

Status: Verified
Owner: ----
Closed: Jun 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Null-dereference READ in blink::FirstLetterPseudoElement::AttachFirstLetterTextLayoutObjects

Project Member Reported by ClusterFuzz, Apr 8 2018

Issue description

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

Fuzzer: inferno_twister
Job Type: linux_msan_content_shell_drt
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000000
Crash State:
  blink::FirstLetterPseudoElement::AttachFirstLetterTextLayoutObjects
  blink::Element::RebuildPseudoElementLayoutTree
  blink::Element::RebuildLayoutTree
  
Sanitizer: memory (MSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_msan_content_shell_drt&range=518240:518474

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Apr 8 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.
Components: Blink>Layout
Labels: -Pri-1 Pri-3
Status: Available (was: Untriaged)

Comment 3 by fergal@chromium.org, Apr 18 2018

I took a bit of a look at this and it seems the problem is cause by

FirstLetterPseudoElement::FirstLetterTextLayoutObject

returning nullptr but the code assumes it will not do that. That's as far as I'm going to go.
Project Member

Comment 4 by ClusterFuzz, Jun 30 2018

ClusterFuzz has detected this issue as fixed in range 571663:571666.

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

Fuzzer: inferno_twister
Job Type: linux_msan_content_shell_drt
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000000
Crash State:
  blink::FirstLetterPseudoElement::AttachFirstLetterTextLayoutObjects
  blink::Element::RebuildPseudoElementLayoutTree
  blink::Element::RebuildLayoutTree
  
Sanitizer: memory (MSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_msan_content_shell_drt&range=518240:518474
Fixed: https://clusterfuzz.com/revisions?job=linux_msan_content_shell_drt&range=571663:571666

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

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 5 by ClusterFuzz, Jun 30 2018

Labels: ClusterFuzz-Verified
Status: Verified (was: Available)
ClusterFuzz testcase 6676793385025536 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