[webkit-changes] [WebKit/WebKit] 547312: Null check frame in CachedResourceLoader::updateRe...

Alex Christensen noreply at github.com
Tue Jan 10 09:43:45 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 547312c768f07f18c13bce89057e021e380858e0
      https://github.com/WebKit/WebKit/commit/547312c768f07f18c13bce89057e021e380858e0
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-01-10 (Tue, 10 Jan 2023)

  Changed paths:
    M Source/WebCore/loader/cache/CachedResourceLoader.cpp

  Log Message:
  -----------
  Null check frame in CachedResourceLoader::updateRequestAfterRedirection
https://bugs.webkit.org/show_bug.cgi?id=250391
rdar://103833306

Reviewed by Chris Dumez.

Crash logs indicate the line that used the frame was crashing with null dereferences.
Add some null checks to not crash during frame teardown.

* Source/WebCore/loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::updateRequestAfterRedirection):

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




More information about the webkit-changes mailing list