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

Issue 1196403004: Prevent JS from bypassing RTP data channel bandwidth limitation. (Closed)

Created:
5 years, 6 months ago by Taylor Brandstetter
Modified:
5 years, 6 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), Andrew MacDonald
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Prevent JS from bypassing RTP data channel bandwidth limitation. Normally the RTP data channel is capped at 30kbps, but by mangling the SDP string, one could get around this limitation. With this fix, SdpDeserialize will return an error if it detects this condition. BUG=280726 R=pthatcher@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/c0c3a865f49a6386b0815001b9856c1eee27e7c2

Patch Set 1 #

Patch Set 2 : Removing accidentally copied line #

Total comments: 6

Patch Set 3 : Making sure we only limit bandwidth for RTP (and not SCTP) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -37 lines) Patch
M talk/app/webrtc/webrtcsdp.cc View 1 2 3 chunks +12 lines, -21 lines 0 comments Download
M talk/app/webrtc/webrtcsdp_unittest.cc View 1 2 2 chunks +22 lines, -16 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
Taylor Brandstetter
5 years, 6 months ago (2015-06-24 19:44:07 UTC) #2
pthatcher1
https://codereview.webrtc.org/1196403004/diff/20001/talk/app/webrtc/webrtcsdp.cc File talk/app/webrtc/webrtcsdp.cc (right): https://codereview.webrtc.org/1196403004/diff/20001/talk/app/webrtc/webrtcsdp.cc#newcode2502 talk/app/webrtc/webrtcsdp.cc:2502: // that would give JS the opportunity to "break ...
5 years, 6 months ago (2015-06-24 20:01:57 UTC) #3
Taylor Brandstetter
5 years, 6 months ago (2015-06-24 21:40:20 UTC) #4
Taylor Brandstetter
https://codereview.webrtc.org/1196403004/diff/20001/talk/app/webrtc/webrtcsdp.cc File talk/app/webrtc/webrtcsdp.cc (right): https://codereview.webrtc.org/1196403004/diff/20001/talk/app/webrtc/webrtcsdp.cc#newcode2502 talk/app/webrtc/webrtcsdp.cc:2502: // that would give JS the opportunity to "break ...
5 years, 6 months ago (2015-06-24 21:41:24 UTC) #5
pthatcher1
lgtm
5 years, 6 months ago (2015-06-24 21:44:02 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1196403004/40001
5 years, 6 months ago (2015-06-24 21:44:28 UTC) #8
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years, 6 months ago (2015-06-24 21:44:31 UTC) #10
pthatcher1
5 years, 6 months ago (2015-06-24 22:31:42 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
c0c3a865f49a6386b0815001b9856c1eee27e7c2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698