[webkit-changes] [WebKit/WebKit] bfc8bf: Don't adopt result of NSURLSession.sessionWithConf...

Alex Christensen noreply at github.com
Sat Oct 21 14:18:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bfc8bf8236569bea37eb6226cb9d670f4dd641f3
      https://github.com/WebKit/WebKit/commit/bfc8bf8236569bea37eb6226cb9d670f4dd641f3
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-10-21 (Sat, 21 Oct 2023)

  Changed paths:
    M Source/WebKit/NetworkProcess/PrivateClickMeasurement/cocoa/PrivateClickMeasurementNetworkLoaderCocoa.mm

  Log Message:
  -----------
  Don't adopt result of NSURLSession.sessionWithConfiguration
https://bugs.webkit.org/show_bug.cgi?id=263501

Reviewed by Chris Dumez.

If it were ever released, it would cause memory corruption.
It's not, but still not good practice.

* Source/WebKit/NetworkProcess/PrivateClickMeasurement/cocoa/PrivateClickMeasurementNetworkLoaderCocoa.mm:
(WebKit::PCM::statelessSessionWithoutRedirects):

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




More information about the webkit-changes mailing list