[Webkit-unassigned] [Bug 167036] New: Correct potential nullptr dereference in RenderLayer::updateLayerPosition()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 13 17:00:58 PST 2017
https://bugs.webkit.org/show_bug.cgi?id=167036
Bug ID: 167036
Summary: Correct potential nullptr dereference in
RenderLayer::updateLayerPosition()
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bfulgham at webkit.org
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Crash logs indicate an infrequent crash in RenderLayer::updateLayerPosition().
Code inspection reveals that we might dereference a nullptr for elements with enclosing parents with a layer. The search for this parent might end without finding anything, resulting in the ancestor being set to nullptr.
This patch adds the missing nullptr check to avoid this possibility.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170114/be3ed3e1/attachment.html>
More information about the webkit-unassigned
mailing list