Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: cherry-pick eef098d1c7d5 from webrtc #36216

Merged
merged 2 commits into from Nov 2, 2022

Conversation

ppontes
Copy link
Member

@ppontes ppontes commented Nov 1, 2022

[Merge-107] [Stats] Avoid DCHECK crashing if SSRCs are not unique.

To properly handle SSRC collisions in non-BUNDLE we need to change how
RTP stats IDs are generated, but that is a riskier change to be dealt
with in a separate CL.

For now, we just make sure that crashing is not a possibility during
SSRC collisions as a mitigation for https://crbug.com/1361612. This is
achieved by adding a TryAddStats() method to RTCStatsReport returning
whether successful.

(cherry picked from commit da6297dc53cb2eaae7b1c5381652de9d707a7d48)

Bug: chromium:1361612
Change-Id: I8577ae4c84a7c1eb3c7527e9efd8d1b0254269a3
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/275766
Reviewed-by: Harald Alvestrand hta@webrtc.org
Commit-Queue: Henrik Boström hbos@webrtc.org
Cr-Original-Commit-Position: refs/heads/main@{#38197}
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/277900
Reviewed-by: Evan Shrubsole eshr@webrtc.org
Cr-Commit-Position: refs/branch-heads/5304@{#4}
Cr-Branched-From: 024bd84ca1cf7d3650c27912a3b5bfbb54da152a-refs/heads/main@{#38083}

Notes: Security: backported fix for 1361612.

@ppontes ppontes requested review from a team as code owners November 1, 2022 21:38
@ppontes ppontes added 21-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes labels Nov 1, 2022
@electron-cation electron-cation bot added new-pr 🌱 PR opened in the last 24 hours and removed new-pr 🌱 PR opened in the last 24 hours labels Nov 1, 2022
@ppontes ppontes force-pushed the cherry-pick/21-x-y/webrtc/eef098d1c7d5 branch from b712493 to 7097b9e Compare November 1, 2022 21:41
@ppontes ppontes force-pushed the cherry-pick/21-x-y/webrtc/eef098d1c7d5 branch from cefd0b5 to 29b1916 Compare November 2, 2022 09:03
@jkleinsc jkleinsc merged commit 2212933 into 21-x-y Nov 2, 2022
@jkleinsc jkleinsc deleted the cherry-pick/21-x-y/webrtc/eef098d1c7d5 branch November 2, 2022 15:48
@release-clerk
Copy link

release-clerk bot commented Nov 2, 2022

Release Notes Persisted

Security: backported fix for 1361612.

ppontes added a commit that referenced this pull request Nov 7, 2022
ppontes added a commit that referenced this pull request Nov 8, 2022
jkleinsc pushed a commit that referenced this pull request Nov 9, 2022
Revert "chore: cherry-pick eef098d1c7d5 from webrtc (#36216)"

This reverts commit 2212933.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
21-x-y backport-check-skip Skip trop's backport validity checking security 🔒 semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants