Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 744c09d76f38f5f524464f07093e8aae2852ac38
      
https://github.com/WebKit/WebKit/commit/744c09d76f38f5f524464f07093e8aae2852ac38
  Author: Alex Christensen <[email protected]>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M Source/WebCore/loader/ResourceLoader.cpp

  Log Message:
  -----------
  Add more null checks in ResourceLoader::shouldAllowResourceToAskForCredentials
https://bugs.webkit.org/show_bug.cgi?id=284836
rdar://141633070

Reviewed by Pascoe.

Logs indicate that there's still a null dereference in that function.
I use SecurityContext::securityOrigin instead of Document::securityOrigin
to add a null check if there is no SecurityOrigin.  The proper setting of
SecurityOrigins in all cases isn't done with site isolation on yet.

* Source/WebCore/loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::shouldAllowResourceToAskForCredentials const):

Canonical link: https://commits.webkit.org/287967@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to