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

Issue 806681 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Email to this user bounced
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 1
Type: Bug



Sign in to add a comment

Null-dereference READ in blink::LocalFrame::GetContentSettingsClient

Project Member Reported by ClusterFuzz, Jan 29 2018

Issue description

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

Fuzzer: inferno_layout_test_fuzzer
Job Type: linux_asan_content_shell_drt
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000058
Crash State:
  blink::LocalFrame::GetContentSettingsClient
  blink::Document::CanExecuteScripts
  blink::MarkupFormatter::EntityMaskForText
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_asan_content_shell_drt&range=532301:532302

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

Issue filed automatically.

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

Comment 1 by ClusterFuzz, Jan 29 2018

Labels: OS-Mac
Project Member

Comment 2 by ClusterFuzz, Jan 29 2018

Labels: Test-Predator-Auto-Owner
Owner: rob.b...@samsung.com
Status: Assigned (was: Untriaged)
Automatically assigning owner based on suspected regression changelist https://chromium.googlesource.com/chromium/src/+/aa8ca297c5f87cc3362524bae9f18a8972f80900 (Serialize Text nodes for HTML fragments correctly).

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.
Project Member

Comment 3 by ClusterFuzz, Jan 29 2018

Labels: OS-Windows
Cc: rob.b...@samsung.com
 Issue 806705  has been merged into this issue.
Project Member

Comment 5 by ClusterFuzz, Jan 29 2018

Components: Blink>DOM Blink>Internals
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 6 by bugdroid1@chromium.org, Jan 30 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/07d632dc072f014f41ba395cccbcebad9a0f4eb1

commit 07d632dc072f014f41ba395cccbcebad9a0f4eb1
Author: Rob Buis <rob.buis@samsung.com>
Date: Tue Jan 30 13:09:43 2018

Fix null-dereference caused by r532302

We need to check if there is a frame before calling CanExecuteScripts.

Bug:  806681 ,  806705 
Change-Id: I717cbb92478806b8f2687b099c62558f5abc7f03
Reviewed-on: https://chromium-review.googlesource.com/891304
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Rob Buis <rob.buis@samsung.com>
Cr-Commit-Position: refs/heads/master@{#532850}
[add] https://crrev.com/07d632dc072f014f41ba395cccbcebad9a0f4eb1/third_party/WebKit/LayoutTests/fast/innerHTML/806705-crash.html
[modify] https://crrev.com/07d632dc072f014f41ba395cccbcebad9a0f4eb1/third_party/WebKit/Source/core/editing/serializers/MarkupFormatter.cpp

Project Member

Comment 7 by ClusterFuzz, Jan 31 2018

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

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

Comment 8 by ClusterFuzz, Jan 31 2018

ClusterFuzz has detected this issue as fixed in range 532849:532850.

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

Fuzzer: inferno_layout_test_fuzzer
Job Type: linux_asan_content_shell_drt
Platform Id: linux

Crash Type: Null-dereference READ
Crash Address: 0x000000000058
Crash State:
  blink::LocalFrame::GetContentSettingsClient
  blink::Document::CanExecuteScripts
  blink::MarkupFormatter::EntityMaskForText
  
Sanitizer: address (ASAN)

Regressed: https://clusterfuzz.com/revisions?job=linux_asan_content_shell_drt&range=532301:532302
Fixed: https://clusterfuzz.com/revisions?job=linux_asan_content_shell_drt&range=532849:532850

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

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.

Sign in to add a comment