Bug 265422 - [WebRTC] Release assertion in webrtc::RtpPacketizerH264::PacketizeStapA on bad input
Summary: [WebRTC] Release assertion in webrtc::RtpPacketizerH264::PacketizeStapA on ba...
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: 267906
  Show dependency treegraph
 
Reported: 2023-11-27 20:02 PST by David Kilzer (:ddkilzer)
Modified: 2024-01-22 20:47 PST (History)
2 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-27 20:02:53 PST
Release assertion in webrtc::RtpPacketizerH264::PacketizeStapA on bad input.

This release assertion fires when invalid input is passed in to `webrtc::RtpPacketizerH264::RtpPacketizerH264()` in `Source/ThirdParty/libwebrtc/Source/webrtc/modules/rtp_rtcp/source/rtp_format_h264.cc`:

```
  [...]
  while (payload_size_left >= payload_size_needed()) {
    RTC_CHECK_GT(fragment.size(), 0);
    [...]
```

<rdar://118859268>
Comment 1 David Kilzer (:ddkilzer) 2023-11-27 20:11:29 PST
Pull request: https://github.com/WebKit/WebKit/pull/20969
Comment 2 EWS 2023-11-28 08:21:39 PST
Committed 271215@main (832866a2a943): <https://commits.webkit.org/271215@main>

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