Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dfe85c799d21dec85150f17810016f9e3337770f
      
https://github.com/WebKit/WebKit/commit/dfe85c799d21dec85150f17810016f9e3337770f
  Author: Pascoe <pas...@apple.com>
  Date:   2025-04-28 (Mon, 28 Apr 2025)

  Changed paths:
    M Source/WebKit/Shared/cf/CoreIPCSecTrust.mm

  Log Message:
  -----------
  Validate NSData non-null before adding to NSMutableArray in CoreIPCSecTrust
rdar://149212916
https://bugs.webkit.org/show_bug.cgi?id=292045

Reviewed by Brent Fulgham and Jonathan Bedard.

We should validate that we aren't adding a NULL to an NSMutableArray as
it causes a crash.

* Source/WebKit/Shared/cf/CoreIPCSecTrust.mm:
(WebKit::createPolicyDictionary):
(WebKit::addToDictFromOptionalDataHelper):
(WebKit::CoreIPCSecTrust::createSecTrust const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to