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

Issue 2879863002: Fix for fuzzer bug. (Closed)

Created:
3 years, 7 months ago by ivoc
Modified:
3 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, tlegrand-webrtc, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fixed NetEq overflow bug. Negating an int can result in a value that cannot be represented as an int. This is fixed here by using a 64 bit variable. BUG=chromium:663611 Review-Url: https://codereview.webrtc.org/2879863002 Cr-Commit-Position: refs/heads/master@{#18167} Committed: https://chromium.googlesource.com/external/webrtc/+/e3fc11464e5b295c53c897d3dcb4da0cdf10fc21

Patch Set 1 #

Total comments: 11

Patch Set 2 : Review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M webrtc/modules/audio_coding/neteq/decision_logic_normal.cc View 1 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
ivoc
Hi guys, PTAL at this bugfix for NetEq. I verified that the issue is resolved ...
3 years, 7 months ago (2017-05-12 15:00:26 UTC) #5
hlundin-webrtc
LGTM with one comment. https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc File webrtc/modules/audio_coding/neteq/decision_logic_normal.cc (right): https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc#newcode107 webrtc/modules/audio_coding/neteq/decision_logic_normal.cc:107: noise_fast_forward_ = rtc::saturated_cast<size_t>(noise_fast_forward_ + On ...
3 years, 7 months ago (2017-05-15 08:13:45 UTC) #6
kwiberg-webrtc
https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc File webrtc/modules/audio_coding/neteq/decision_logic_normal.cc (right): https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc#newcode100 webrtc/modules/audio_coding/neteq/decision_logic_normal.cc:100: int64_t excess_waiting_time_samp = Add const while you're at it? ...
3 years, 7 months ago (2017-05-15 09:02:45 UTC) #7
hlundin-webrtc
https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc File webrtc/modules/audio_coding/neteq/decision_logic_normal.cc (right): https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc#newcode110 webrtc/modules/audio_coding/neteq/decision_logic_normal.cc:110: rtc::saturated_cast<int32_t>(timestamp_diff + excess_waiting_time_samp); On 2017/05/15 09:02:45, kwiberg-webrtc wrote: > ...
3 years, 7 months ago (2017-05-15 09:48:45 UTC) #8
kwiberg-webrtc
lgtm https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc File webrtc/modules/audio_coding/neteq/decision_logic_normal.cc (right): https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc#newcode110 webrtc/modules/audio_coding/neteq/decision_logic_normal.cc:110: rtc::saturated_cast<int32_t>(timestamp_diff + excess_waiting_time_samp); On 2017/05/15 09:48:45, hlundin-webrtc wrote: ...
3 years, 7 months ago (2017-05-15 11:39:17 UTC) #9
ivoc
Thanks for the comments! https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc File webrtc/modules/audio_coding/neteq/decision_logic_normal.cc (right): https://codereview.webrtc.org/2879863002/diff/40001/webrtc/modules/audio_coding/neteq/decision_logic_normal.cc#newcode100 webrtc/modules/audio_coding/neteq/decision_logic_normal.cc:100: int64_t excess_waiting_time_samp = On 2017/05/15 ...
3 years, 7 months ago (2017-05-16 13:40:28 UTC) #10
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/2879863002/60001
3 years, 7 months ago (2017-05-16 13:42:10 UTC) #13
commit-bot: I haz the power
3 years, 7 months ago (2017-05-16 14:13:23 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/e3fc11464e5b295c53c897d3d...

Powered by Google App Engine
This is Rietveld 408576698