[Webkit-unassigned] [Bug 193985] New: Make sure we have a frame before trying to access its loader

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 29 14:58:01 PST 2019


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

            Bug ID: 193985
           Summary: Make sure we have a frame before trying to access its
                    loader
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

Early seeding of iOS 12.2 showed some nullptr dereferences in 'ResourceLoadObserver::logUserInteractionWithReducedTimeResolution'. Code inspection and review of the backtraces reveal that the code attempts to access the frame's loader, even if the frame is a nullptr.

We check for null frames in other uses of the document frame member, so should do so here as well.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190129/b62d2bf3/attachment.html>


More information about the webkit-unassigned mailing list