New issue
Advanced search Search tips

Issue 917586 link

Starred by 3 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

DragController::DispatchTextInputEventFor() should check whether event target is not null

Project Member Reported by ClusterFuzz, Dec 22

Issue description

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

Fuzzer: ochang_domfuzzer
Job Type: linux_msan_content_shell_drt
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000000
Crash State:
  blink::EventTarget::DispatchEvent
  blink::DragController::DispatchTextInputEventFor
  blink::DragController::ConcludeEditDrag
  
Sanitizer: memory (MSAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_msan_content_shell_drt&range=602389:602396

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

Issue filed automatically.

See https://www.chromium.org/developers/testing/memorysanitizer#TOC-Reproducing-ClusterFuzz-Bugs for instructions to reproduce this bug locally.
 
Project Member

Comment 1 by ClusterFuzz, Dec 22

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.
Cc: tkent@chromium.org pnangunoori@chromium.org
Labels: M-72 Test-Predator-Wrong
Owner: hayato@chromium.org
Status: Assigned (was: Untriaged)
Predator and CL could not provide any possible suspects.
Using the code search for the file, “event_target.cc” assigning to concern owner from GIT revision log.
Suspecting Commit#
https://chromium.googlesource.com/chromium/src/+/6a0529ac33f137fa3e850218415f5bda31dbaa88

@hayato -- Could you please look into this issue, kindly reassign if it has nothing to do with your changes.
Thank You.

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

Comment 4 by hayato@chromium.org, Jan 18 (4 days ago)

Owner: yosin@chromium.org
yosin@, it looks related to editing.

Comment 5 by yosin@chromium.org, Yesterday (47 hours ago)

Labels: -Pri-1 Pri-3
Owner: ----
Status: Available (was: Assigned)
Summary: DragController::DispatchTextInputEventFor() should check whether event target is not null (was: Null-dereference READ in blink::EventTarget::DispatchEvent)
|target| in DragController::DispatchTextInputEventFor() is null for test script.
|target| is computed as:

  Element* target = FindEventTargetFrom(
      *inner_frame,
      CreateVisibleSelection(
          SelectionInDOMTree::Builder().Collapse(caret_position).Build()));

Sign in to add a comment