Chromium Code Reviews

Issue 2675273003: Fixing SDP parsing crash due to invalid port numbers. (Closed)

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

Description

Fixing SDP parsing crash due to invalid port numbers. BUG=chromium:677029 Review-Url: https://codereview.webrtc.org/2675273003 Cr-Commit-Position: refs/heads/master@{#16541} Committed: https://chromium.googlesource.com/external/webrtc/+/90f1e1e0d7f7b88eb5bd849bbe6a75c6778c3bc8

Patch Set 1 #

Total comments: 2

Patch Set 2 : IsValidPort function #

Unified diffs Side-by-side diffs Stats (+38 lines, -0 lines)
M webrtc/base/socketaddress.h View 2 chunks +4 lines, -0 lines 0 comments
M webrtc/pc/webrtcsdp.cc View 4 chunks +12 lines, -0 lines 0 comments
M webrtc/pc/webrtcsdp_unittest.cc View 1 chunk +22 lines, -0 lines 0 comments

Messages

Total messages: 10 (5 generated)
pthatcher1
lgtm, with suggestion for minor improvement https://codereview.webrtc.org/2675273003/diff/1/webrtc/pc/webrtcsdp.cc File webrtc/pc/webrtcsdp.cc (right): https://codereview.webrtc.org/2675273003/diff/1/webrtc/pc/webrtcsdp.cc#newcode1078 webrtc/pc/webrtcsdp.cc:1078: if (port < ...
3 years, 10 months ago (2017-02-10 18:13:33 UTC) #2
Taylor Brandstetter
https://codereview.webrtc.org/2675273003/diff/1/webrtc/pc/webrtcsdp.cc File webrtc/pc/webrtcsdp.cc (right): https://codereview.webrtc.org/2675273003/diff/1/webrtc/pc/webrtcsdp.cc#newcode1078 webrtc/pc/webrtcsdp.cc:1078: if (port < 0 || port > 65535) { ...
3 years, 10 months ago (2017-02-10 19:25:30 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/2675273003/20001
3 years, 10 months ago (2017-02-10 19:25:52 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/external/webrtc/+/90f1e1e0d7f7b88eb5bd849bbe6a75c6778c3bc8
3 years, 10 months ago (2017-02-10 20:35:09 UTC) #9
Taylor Brandstetter
3 years, 10 months ago (2017-02-10 21:00:04 UTC) #10
Message was sent while issue was closed.
Incorrect bug number; was meant to reference
https://bugs.chromium.org/p/chromium/issues/detail?id=686405

Powered by Google App Engine