[webkit-changes] [WebKit/WebKit] a8dd13: Crash under Download::updateResumeDataWithPlacehol...

Per Arne Vollan noreply at github.com
Tue Oct 29 07:36:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a8dd13dd7342dc6ac7b1df3fd04d8c9011a6aafd
      https://github.com/WebKit/WebKit/commit/a8dd13dd7342dc6ac7b1df3fd04d8c9011a6aafd
  Author: Per Arne Vollan <pvollan at apple.com>
  Date:   2024-10-29 (Tue, 29 Oct 2024)

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

  Log Message:
  -----------
  Crash under Download::updateResumeDataWithPlaceholderURL
https://bugs.webkit.org/show_bug.cgi?id=282225
rdar://138799971

Reviewed by Chris Dumez.

-[NSDictionary setObject: forKey:] will throw an exception if object is nil. Guard against this by
returning early without modifying the resume data.

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

Canonical link: https://commits.webkit.org/285828@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