Bug 265043 - [WebRTC] Make H265 packetizing more resilient to bad input
Summary: [WebRTC] Make H265 packetizing more resilient to bad input
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-17 08:06 PST by David Kilzer (:ddkilzer)
Modified: 2023-11-28 08:19 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2023-11-17 08:06:54 PST
Make H265 packetizing more resilient to bad input.

The `RTC_CHECK_GT(fragment.size(), 0u)` release assert in webrtc::RtpPacketizerH265::PacketizeSingleNalu() is quite easily hit.

<rdar://118460064>
Comment 1 David Kilzer (:ddkilzer) 2023-11-17 08:28:35 PST
Pull request: https://github.com/WebKit/WebKit/pull/20676
Comment 2 EWS 2023-11-28 08:19:15 PST
Committed 271214@main (7e7d41f82f4f): <https://commits.webkit.org/271214@main>

Reviewed commits have been landed. Closing PR #20676 and removing active labels.