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

Issue 1685103002: Fix two UBSan warnings in NetEq (Closed)

Created:
4 years, 10 months ago by hlundin-webrtc
Modified:
4 years, 10 months ago
Reviewers:
kwiberg-webrtc
CC:
webrtc-reviews_webrtc.org, kwiberg-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, peah-webrtc, minyue-webrtc
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix two UBSan warnings in NetEq Both were related to very large jumps in RTP timestamps. BUG=webrtc:5488 Committed: https://crrev.com/07c51e3f79242b7750cc8719d804c65107d2271d Cr-Commit-Position: refs/heads/master@{#11569}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Change to checked_cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -4 lines) Patch
M webrtc/modules/audio_coding/neteq/delay_manager.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/modules/audio_coding/neteq/timestamp_scaler.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (5 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685103002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685103002/1
4 years, 10 months ago (2016-02-10 13:19:55 UTC) #2
hlundin-webrtc
Karl, Please, take a look at this CL. Thanks! /HL
4 years, 10 months ago (2016-02-10 13:37:33 UTC) #4
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-10 14:35:21 UTC) #6
kwiberg-webrtc
https://codereview.webrtc.org/1685103002/diff/1/webrtc/modules/audio_coding/neteq/delay_manager.cc File webrtc/modules/audio_coding/neteq/delay_manager.cc (right): https://codereview.webrtc.org/1685103002/diff/1/webrtc/modules/audio_coding/neteq/delay_manager.cc#newcode101 webrtc/modules/audio_coding/neteq/delay_manager.cc:101: rtc::saturated_cast<int>(1000 * packet_len_samp / sample_rate_hz); Am I guessing right ...
4 years, 10 months ago (2016-02-10 15:14:21 UTC) #7
hlundin-webrtc
Change to checked_cast
4 years, 10 months ago (2016-02-10 15:35:04 UTC) #8
hlundin-webrtc
https://codereview.webrtc.org/1685103002/diff/1/webrtc/modules/audio_coding/neteq/delay_manager.cc File webrtc/modules/audio_coding/neteq/delay_manager.cc (right): https://codereview.webrtc.org/1685103002/diff/1/webrtc/modules/audio_coding/neteq/delay_manager.cc#newcode101 webrtc/modules/audio_coding/neteq/delay_manager.cc:101: rtc::saturated_cast<int>(1000 * packet_len_samp / sample_rate_hz); On 2016/02/10 15:14:21, kwiberg-webrtc ...
4 years, 10 months ago (2016-02-10 15:36:13 UTC) #9
kwiberg-webrtc
lgtm
4 years, 10 months ago (2016-02-11 09:53:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685103002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685103002/20001
4 years, 10 months ago (2016-02-11 10:35:36 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-11 11:35:48 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-11 11:35:48 UTC) #14
commit-bot: I haz the power
4 years, 10 months ago (2016-02-11 11:36:13 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/07c51e3f79242b7750cc8719d804c65107d2271d
Cr-Commit-Position: refs/heads/master@{#11569}

Powered by Google App Engine
This is Rietveld 408576698