[Webkit-unassigned] [Bug 258167] New: Check CachedResourceLoader's document WeakPtr in more places

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 15 15:37:52 PDT 2023


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

            Bug ID: 258167
           Summary: Check CachedResourceLoader's document WeakPtr in more
                    places
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

The CachedResourceLoader class holds a WeakPtr to a Document, which may be nullptr at different moments in loading. We inconsistently check for nullptr, which telemetry shows is triggering some crashes.

This patch provides more rigorous checks for nullptr to avoid these crashes.

-- 
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/20230615/3c14f554/attachment-0001.htm>


More information about the webkit-unassigned mailing list