New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 727154 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

ExpandToParagraphBoundary doesn't work well with unusual HTML

Project Member Reported by ClusterFuzz, May 28 2017

Issue description

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

Fuzzer: bj_broddelwerk
Job Type: windows_asan_chrome
Platform Id: windows

Crash Type: Null-dereference READ
Crash Address: 0x00000000
Crash State:
  blink::SimplifiedBackwardsTextIteratorAlgorithm<blink::EditingAlgorithm<blink::N
  blink::SimplifiedBackwardsTextIteratorAlgorithm<blink::EditingAlgorithm<blink::N
  blink::SimplifiedBackwardsTextIteratorAlgorithm<blink::EditingAlgorithm<blink::N
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=windows_asan_chrome&range=467851:467953

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


Issue filed automatically.

See https://dev.chromium.org/Home/chromium-security/bugs/reproducing-clusterfuzz-bugs for more information.
 
Cc: msrchandra@chromium.org
Components: Blink>Editing
Labels: Test-Predator-Wrong-CLs M-60
Owner: xiaoche...@chromium.org
Status: Assigned (was: Untriaged)
Predator and CL did not provide any possible suspects.
Using Code Search for the file, "SimplifiedBackwardsTextIterator.cpp" assigning to the related owner.

@xiaochengh -- Could you please look into the issue, kindly re-assign if this is not related to your changes.
Thank You.

Comment 2 by yosin@chromium.org, May 30 2017

Labels: -Pri-1 Pri-3
Status: Available (was: Assigned)
Summary: ExpandToParagraphBoundary doesn't work well with unusual HTML (was: Null-dereference READ in blink::SimplifiedBackwardsTextIteratorAlgorithm<blink::EditingAlgorithm<blink::N)
Lower to Pri-3, since this is happend with unusual HTML, e.g. SVG element contains
HTML elements.

ExpandToParagraphBoundary() call in CalculateHotModeCheckingRange() "HotModeSpellCheckRequester.cpp" returns wrong range.

Comment 3 by yosin@chromium.org, May 30 2017

Owner: ----
Project Member

Comment 4 by ClusterFuzz, Jul 2 2017

Labels: OS-Android
Project Member

Comment 5 by ClusterFuzz, Jul 15 2017

Labels: OS-Linux
Project Member

Comment 6 by ClusterFuzz, Jul 30 2017

Labels: OS-Mac
Project Member

Comment 7 by sheriffbot@chromium.org, Jul 31

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
Project Member

Comment 9 by ClusterFuzz, Sep 5

ClusterFuzz has detected this issue as fixed in range 552588:552589.

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

Fuzzer: bj_broddelwerk
Job Type: windows_asan_chrome
Platform Id: windows

Crash Type: CHECK failure
Crash Address: 
Crash State:
  static_cast<unsigned>(text_offset_ + text_length_) <= text.length() in Simplifie
  blink::SimplifiedBackwardsTextIteratorAlgorithm<blink::EditingAlgorithm<blink::N
  blink::SimplifiedBackwardsTextIteratorAlgorithm<blink::EditingAlgorithm<blink::N
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=windows_asan_chrome&range=467851:467953
Fixed: https://clusterfuzz.com/revisions?job=windows_asan_chrome&range=552588:552589

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

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 10 by ClusterFuzz, Sep 5

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