[Webkit-unassigned] [Bug 165964] New: Possible nullptr dereference in FrameView::updateScrollCorner

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 16 11:29:29 PST 2016


https://bugs.webkit.org/show_bug.cgi?id=165964

            Bug ID: 165964
           Summary: Possible nullptr dereference in
                    FrameView::updateScrollCorner
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org
                CC: simon.fraser at apple.com

It is possible for 'renderer' to be null, but still have a valid cornerStyle:

1. If the document has no body, and the root element has no style, but we do have an owning iframe/frame element, we set a cornerStyle (but do not set the renderer).

2. Later, if no 'm_scrollCorner' member exists, we attempt to create one by accessing the renderer's document, generating a nullptr dereference.

-- 
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/20161216/e7659110/attachment-0001.html>


More information about the webkit-unassigned mailing list