Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Issue 3019443002: If SRTP sessions exist, don't create new ones when applying answer. (Closed)

Created:
3 years, 3 months ago by Taylor Brandstetter
Modified:
3 years, 3 months ago
Reviewers:
Zhi Huang
CC:
webrtc-reviews_webrtc.org
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

If SRTP sessions exist, don't create new ones when applying answer. Instead, call the "Update" methods of SrtpSession, which will just call srtp_update, instead of wiping out the session state completely. This was causing decryption to stop working when subsequent offers/answers are applied. We don't know enough about SRTP to understand the root cause, and I wasn't able to write an integration test that reproduces the issue... But at least this fixes the bug that can be reproduced reliably using Hangouts. BUG=webrtc:8251 Review-Url: https://codereview.webrtc.org/3019443002 Cr-Commit-Position: refs/heads/master@{#19874} Committed: https://webrtc.googlesource.com/src/+/5ada7acf603e90e71990e9d4ff8f49389f24958c

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -4 lines) Patch
M pc/srtptransport.cc View 1 chunk +21 lines, -4 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Taylor Brandstetter
PTAL
3 years, 3 months ago (2017-09-15 22:20:38 UTC) #2
Zhi Huang
On 2017/09/15 22:20:38, Taylor Brandstetter wrote: > PTAL lgtm. Thanks for making CL.
3 years, 3 months ago (2017-09-15 22:27:20 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3019443002/1
3 years, 3 months ago (2017-09-15 23:59:45 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://webrtc.googlesource.com/src/+/5ada7acf603e90e71990e9d4ff8f49389f24958c
3 years, 3 months ago (2017-09-16 00:52:41 UTC) #8
henrika_webrtc
A revert of this CL (patchset #1 id:1) has been created in https://codereview.webrtc.org/3017543002/ by henrika@webrtc.org. ...
3 years, 3 months ago (2017-09-18 09:16:54 UTC) #9
phoglund
3 years, 3 months ago (2017-09-18 09:26:04 UTC) #10
Message was sent while issue was closed.
A revert of this CL (patchset #1 id:1) has been created in
https://codereview.webrtc.org/3012393002/ by phoglund@webrtc.org.

The reason for reverting is: Looks like it causes a crash on Chrome Android
browser tests:
https://build.chromium.org/p/chromium.webrtc.fyi/waterfall?builder=Android%20....

Powered by Google App Engine
This is Rietveld 408576698