[webkit-changes] [WebKit/WebKit] 5755e4: [WebRTC] Release assertion in webrtc::RtpPacketize...

Commit Queue noreply at github.com
Tue Nov 28 08:24:40 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5755e4b0e62818d53637554c343585fc19e17a1e
      https://github.com/WebKit/WebKit/commit/5755e4b0e62818d53637554c343585fc19e17a1e
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2023-11-28 (Tue, 28 Nov 2023)

  Changed paths:
    M Source/ThirdParty/libwebrtc/Source/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc
    A Source/ThirdParty/libwebrtc/WebKit/0001-WebRTC-Release-assertion-in-webrtc-RtpPacketizerH264-PacketizeSingleNalu.patch

  Log Message:
  -----------
  [WebRTC] Release assertion in webrtc::RtpPacketizerH264::PacketizeSingleNalu on bad input
https://bugs.webkit.org/show_bug.cgi?id=265427
<rdar://118861718>

Reviewed by Youenn Fablet.

Change release assertion into a runtime check to avoid a crash.

* Source/ThirdParty/libwebrtc/Source/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc:
(webrtc::RtpPacketizerH264::PacketizeSingleNalu):
- Return false instead of crashing if fragment.size() == 0u.

* Source/ThirdParty/libwebrtc/WebKit/0001-WebRTC-Release-assertion-in-webrtc-RtpPacketizerH264-PacketizeSingleNalu.patch: Add.

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




More information about the webkit-changes mailing list