Skip to content

Conversation

@ddkilzer
Copy link
Contributor

@ddkilzer ddkilzer commented Nov 11, 2023

746712e

[WebRTC] Add missing assertion to rtp_format_h265.cc
https://bugs.webkit.org/show_bug.cgi?id=264648
<rdar://118259276>

Reviewed by Youenn Fablet.

* Source/ThirdParty/libwebrtc/Source/webrtc/modules/rtp_rtcp/source/rtp_format_h265.cc:
(webrtc::RtpPacketizerH265::NextAggregatePacket):
- Add RTC_CHECK_LE() bounds check to match the one in
  webrtc::RtpPacketizerH264::NextAggregatePacket().

* Source/ThirdParty/libwebrtc/WebKit/0001-WebRTC-Add-missing-assertion-to-rtp_format_h265.cc.patch: Add.

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

cac0858

Misc iOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style 🛠 ios 🛠 mac 🛠 wpe 🛠 wincairo
🛠 ios-sim 🛠 mac-AS-debug 🧪 wpe-wk2
✅ 🧪 webkitperl 🧪 ios-wk2 🧪 api-mac ✅ 🛠 gtk
🧪 ios-wk2-wpt 🧪 mac-wk1 🧪 gtk-wk2
🧪 api-ios 🧪 mac-wk2 🧪 api-gtk
🛠 tv 🧪 mac-AS-debug-wk2
🛠 tv-sim 🧪 mac-wk2-stress
🛠 watch
✅ 🛠 🧪 unsafe-merge 🛠 watch-sim

@ddkilzer ddkilzer self-assigned this Nov 11, 2023
@ddkilzer ddkilzer added the WebRTC For bugs in WebRTC label Nov 11, 2023
@ddkilzer ddkilzer requested review from xingri and youennf November 11, 2023 02:03
@webkit-early-warning-system
Copy link
Collaborator

webkit-early-warning-system commented Nov 11, 2023

Copy link
Contributor

@youennf youennf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would remove the RTC_DCHECK, I am not sure they add much.

@ddkilzer ddkilzer changed the title [WebRTC] Add missing assertions to rtp_format_h264.cc/rtp_format_h265.cc [WebRTC] Add missing assertion to rtp_format_h265.cc Nov 13, 2023
@ddkilzer ddkilzer force-pushed the eng/WebRTC-Add-missing-assertions-to-rtp_format_h264-ccrtp_format_h265-cc branch from 6dcab55 to cac0858 Compare November 13, 2023 22:43
@ddkilzer ddkilzer added the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 13, 2023
https://bugs.webkit.org/show_bug.cgi?id=264648
<rdar://118259276>

Reviewed by Youenn Fablet.

* Source/ThirdParty/libwebrtc/Source/webrtc/modules/rtp_rtcp/source/rtp_format_h265.cc:
(webrtc::RtpPacketizerH265::NextAggregatePacket):
- Add RTC_CHECK_LE() bounds check to match the one in
  webrtc::RtpPacketizerH264::NextAggregatePacket().

* Source/ThirdParty/libwebrtc/WebKit/0001-WebRTC-Add-missing-assertion-to-rtp_format_h265.cc.patch: Add.

Canonical link: https://commits.webkit.org/270677@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/WebRTC-Add-missing-assertions-to-rtp_format_h264-ccrtp_format_h265-cc branch from cac0858 to 746712e Compare November 13, 2023 22:47
@webkit-commit-queue
Copy link
Collaborator

Committed 270677@main (746712e): https://commits.webkit.org/270677@main

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

@webkit-commit-queue webkit-commit-queue merged commit 746712e into WebKit:main Nov 13, 2023
@webkit-commit-queue webkit-commit-queue removed the unsafe-merge-queue Applied to send a pull request to merge-queue, but skip building and testing label Nov 13, 2023
@ddkilzer ddkilzer deleted the eng/WebRTC-Add-missing-assertions-to-rtp_format_h264-ccrtp_format_h265-cc branch November 13, 2023 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

WebRTC For bugs in WebRTC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants