[Webkit-unassigned] [Bug 187008] New: REGRESSION(r229722): WebKitLegacy clients can crash when loading alternate page

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 25 11:00:14 PDT 2018


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

            Bug ID: 187008
           Summary: REGRESSION(r229722): WebKitLegacy clients can crash
                    when loading alternate page
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

The new call to 'clearProvisionalLoadForPolicyCheck' added in r229722 broke loading behavior in WebKitLegacy.

1. We can now enter 'cancelPolicyCheckIfNeeded' without a Frame loader, in what appears to be a recursive call during the load cancellation (the 'm_waitingForContentPolicy' and 'm_waitingForNavigationPolicy' have already been nulled). It seems like we should return early here, or perhaps just move the RELEASE_ASSERT inside the case where we have an active policy check happening.

2. We also enter FrameLoader::checkContentPolicy without an active document loader. We should recognize this case and handle it, rather than trying to dereference a nullptr document loader.

-- 
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/20180625/5677fe42/attachment.html>


More information about the webkit-unassigned mailing list