Title: [239172] branches/safari-606-branch/Source/ThirdParty/libwebrtc
- Revision
- 239172
- Author
- [email protected]
- Date
- 2018-12-13 11:10:33 -0800 (Thu, 13 Dec 2018)
Log Message
Apply patch. rdar://problem/46603452
Check red packet length
Modified Paths
Diff
Modified: branches/safari-606-branch/Source/ThirdParty/libwebrtc/ChangeLog (239171 => 239172)
--- branches/safari-606-branch/Source/ThirdParty/libwebrtc/ChangeLog 2018-12-13 19:07:52 UTC (rev 239171)
+++ branches/safari-606-branch/Source/ThirdParty/libwebrtc/ChangeLog 2018-12-13 19:10:33 UTC (rev 239172)
@@ -1,3 +1,16 @@
+2018-12-13 Alan Coon <[email protected]>
+
+ Apply patch. rdar://problem/46603452
+
+ Check red packet length
+
+ 2018-12-11 Youenn Fablet <[email protected]>
+
+ Merging https://webrtc.googlesource.com/src.git/+/a715f28968956c4bb995fa2a75ed279944988f64.
+ <rdar://problem/46603452>
+
+ * Source/webrtc/video/rtp_video_stream_receiver.cc:
+
2018-07-20 Babak Shafiei <[email protected]>
Cherry-pick r234008. rdar://problem/42417141
Modified: branches/safari-606-branch/Source/ThirdParty/libwebrtc/Source/webrtc/video/rtp_video_stream_receiver.cc (239171 => 239172)
--- branches/safari-606-branch/Source/ThirdParty/libwebrtc/Source/webrtc/video/rtp_video_stream_receiver.cc 2018-12-13 19:07:52 UTC (rev 239171)
+++ branches/safari-606-branch/Source/ThirdParty/libwebrtc/Source/webrtc/video/rtp_video_stream_receiver.cc 2018-12-13 19:10:33 UTC (rev 239172)
@@ -461,7 +461,8 @@
void RtpVideoStreamReceiver::ParseAndHandleEncapsulatingHeader(
const uint8_t* packet, size_t packet_length, const RTPHeader& header) {
RTC_DCHECK_CALLED_SEQUENTIALLY(&worker_task_checker_);
- if (rtp_payload_registry_.IsRed(header)) {
+ if (rtp_payload_registry_.IsRed(header) &&
+ packet_length > header.headerLength + header.paddingLength) {
int8_t ulpfec_pt = rtp_payload_registry_.ulpfec_payload_type();
if (packet[header.headerLength] == ulpfec_pt) {
rtp_receive_statistics_->FecPacketReceived(header, packet_length);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes