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

Issue 1891703002: Potential division by zero in RtpToNtpMs() (Closed)

Created:
4 years, 8 months ago by åsapersson
Modified:
4 years, 8 months ago
Reviewers:
mflodman
CC:
webrtc-reviews_webrtc.org, henrika_webrtc, zhengzhonghou_agora.io, tterriberry_mozilla.com, fengyue_agora.io, peah-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Potential division by zero in RtpToNtpMs() in rtp_to_ntp.cc. CalculateFrequency() results in zero frequency (floating point) if the RTP timestamps in the RTCP list are equal. Added check in UpdateRtcpList to not insert RTCP SR with the same RTP timestamp. BUG=webrtc:5780 Committed: https://crrev.com/fdca66910a09254a40735ea39ea68036ebd339c2 Cr-Commit-Position: refs/heads/master@{#12429}

Patch Set 1 : #

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
M webrtc/system_wrappers/source/rtp_to_ntp.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/system_wrappers/source/rtp_to_ntp_unittest.cc View 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
åsapersson
4 years, 8 months ago (2016-04-14 11:28:00 UTC) #5
mflodman
LG. Would any of the three new test cases have resulted in the crash?
4 years, 8 months ago (2016-04-14 12:31:20 UTC) #6
åsapersson
On 2016/04/14 12:31:20, mflodman wrote: > LG. Would any of the three new test cases ...
4 years, 8 months ago (2016-04-14 12:48:29 UTC) #7
mflodman
lgtm
4 years, 8 months ago (2016-04-18 18:24:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891703002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891703002/60001
4 years, 8 months ago (2016-04-19 09:49:38 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-19 11:50:09 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891703002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891703002/60001
4 years, 8 months ago (2016-04-19 11:50:45 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-19 13:51:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891703002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891703002/60001
4 years, 8 months ago (2016-04-19 14:02:27 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 8 months ago (2016-04-19 14:04:51 UTC) #22
commit-bot: I haz the power
4 years, 8 months ago (2016-04-19 14:04:57 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/fdca66910a09254a40735ea39ea68036ebd339c2
Cr-Commit-Position: refs/heads/master@{#12429}

Powered by Google App Engine
This is Rietveld 408576698