Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f12eb6a08e4b7f83a1b489ba37dd4081767234f4
      
https://github.com/WebKit/WebKit/commit/f12eb6a08e4b7f83a1b489ba37dd4081767234f4
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-10-26 (Sun, 26 Oct 2025)

  Changed paths:
    M Source/WebCore/platform/graphics/cocoa/CMUtilities.mm

  Log Message:
  -----------
  Null deref in CMUtilities' toCMSampleBuffer
https://bugs.webkit.org/show_bug.cgi?id=301482
rdar://163432969

Reviewed by Eric Carlson.

A logic error was introduced 302086@main in the logging. But it actually
exposed a problem when creating an audio CMSampleBuffer where we wouldn't
create the attachment array required to store the encrypted information.

* Source/WebCore/platform/graphics/cocoa/CMUtilities.mm:
(WebCore::toCMSampleBuffer):
(WebCore::samplesBlockFromCMSampleBuffer): Deleted.
(WebCore::attachColorSpaceToPixelBuffer): Deleted.
(WebCore::PacketDurationParser::PacketDurationParser): Deleted.
(WebCore::PacketDurationParser::framesInPacket): Deleted.
(WebCore::PacketDurationParser::reset): Deleted.
(WebCore::getPacketDescriptions): Deleted.
(WebCore::ensureContiguousBlockBuffer): Deleted.
(WebCore::sharedBufferFromCMBlockBuffer): Deleted.
(WebCore::getKeyIDs): Deleted.

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



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

Reply via email to