[webkit-changes] [WebKit/WebKit] 57d53c: The Networking process sometimes crash in Download...

Per Arne Vollan noreply at github.com
Mon Feb 24 13:28:24 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 57d53c85b1ab7ef839066c08ed54a7e12d550b92
      https://github.com/WebKit/WebKit/commit/57d53c85b1ab7ef839066c08ed54a7e12d550b92
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2025-02-24 (Mon, 24 Feb 2025)

  Changed paths:
    M Source/WebKit/NetworkProcess/Downloads/cocoa/DownloadCocoa.mm

  Log Message:
  -----------
  The Networking process sometimes crash in Download::resume
https://bugs.webkit.org/show_bug.cgi?id=288376
rdar://145354369

Reviewed by Chris Dumez.

If we fail to create a NSURLSessionDownloadTask from the resume data, we will attempt to create a hash map
entry where the task identifier key is 0. This will cause a release assert when the key is checked.

* Source/WebKit/NetworkProcess/Downloads/cocoa/DownloadCocoa.mm:
(WebKit::Download::resume):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list