[webkit-changes] [WebKit/WebKit] 886d4c: Fix bug in NetworkStorageSession::clientSideCookie...

Chris Dumez noreply at github.com
Thu Feb 2 13:19:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 886d4c8f6d388a9a5f861621a60d521750435dda
      https://github.com/WebKit/WebKit/commit/886d4c8f6d388a9a5f861621a60d521750435dda
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-02-02 (Thu, 02 Feb 2023)

  Changed paths:
    M Source/WebCore/platform/network/NetworkStorageSession.cpp

  Log Message:
  -----------
  Fix bug in NetworkStorageSession::clientSideCookieCap() found by new libcpp assertions
https://bugs.webkit.org/show_bug.cgi?id=251601
rdar://104963759

Reviewed by Kate Cheney.

The code was dereferencing pageID without checking if it was std::nullopt
first.

* Source/WebCore/platform/network/NetworkStorageSession.cpp:
(WebCore::NetworkStorageSession::clientSideCookieCap const):

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




More information about the webkit-changes mailing list