[webkit-changes] [WebKit/WebKit] 591e13: [WebRTC] heap-use-after-free : webrtc::`anonymous ...

youennf noreply at github.com
Mon May 22 10:51:04 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 591e13fe4afb8fe1cfaf0eb18d1c0ba8bf4db67f
      https://github.com/WebKit/WebKit/commit/591e13fe4afb8fe1cfaf0eb18d1c0ba8bf4db67f
  Author: Youenn Fablet <youennf at gmail.com>
  Date:   2023-05-22 (Mon, 22 May 2023)

  Changed paths:
    M Source/ThirdParty/libwebrtc/Source/webrtc/api/stats/rtc_stats_report.h
    M Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtc_stats_collector.cc
    M Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtc_stats_collector_unittest.cc
    M Source/ThirdParty/libwebrtc/Source/webrtc/pc/test/fake_peer_connection_for_stats.h
    M Source/ThirdParty/libwebrtc/Source/webrtc/stats/rtc_stats_report.cc

  Log Message:
  -----------
  [WebRTC] heap-use-after-free : webrtc::`anonymous namespace'::ProduceRemoteInboundRtpStreamStatsFromReportBlockData
https://bugs.webkit.org/show_bug.cgi?id=253510
rdar://106063452

Reviewed by Eric Carlson.

We first cherry-pick libwebrc b2be392c708c975ff5a81d8cd4dba588752a8dad to remove duplicate RTCCodec entries.
We then apply da6297dc53cb2eaae7b1c5381652de9d707a7d48.

* Source/ThirdParty/libwebrtc/Source/webrtc/api/stats/rtc_stats_report.h:
* Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtc_stats_collector.cc:
* Source/ThirdParty/libwebrtc/Source/webrtc/pc/rtc_stats_collector_unittest.cc:
* Source/ThirdParty/libwebrtc/Source/webrtc/pc/test/fake_peer_connection_for_stats.h:
(webrtc::FakePeerConnectionForStats::AddVoiceChannel):
(webrtc::FakePeerConnectionForStats::AddVideoChannel):
(webrtc::FakePeerConnectionForStats::GetOrCreateFirstTransceiverOfType):
(webrtc::FakePeerConnectionForStats::CreateTransceiverOfType):
* Source/ThirdParty/libwebrtc/Source/webrtc/stats/rtc_stats_report.cc:

Originally-landed-as: 259548.382 at safari-7615-branch (adde9296b1b1). rdar://106063452
Canonical link: https://commits.webkit.org/264332@main




More information about the webkit-changes mailing list