[Webkit-unassigned] [Bug 40749] New: ResourceLoader::willCacheResponse() needs to null-check m_frame->settings()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 16 17:14:06 PDT 2010


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

           Summary: ResourceLoader::willCacheResponse() needs to
                    null-check m_frame->settings()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: beidson at apple.com


ResourceLoader::willCacheResponse() needs to null-check m_frame->settings()

We've seen crash reports at Apple (<rdar://problem/7249553>) where this method is called on a ResourceLoader, that belongs to a Frame, that no longer has a Page.

Nominally, we think that any Frame without a Page shouldn't have loads occuring, but there is at least one code path where that is not the case, and it's proving elusive to figure out that code path by code inspection.

Plenty of sites in the code null check frame->settings(), and we need to do so here to prevent this crash.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list