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

Issue 1999653002: Fix UBSan errors (left shift on negative value) (Closed)

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

Description

Fix UBSan errors (left shift on negative value) BUG=webrtc:5530 Committed: https://crrev.com/30629957e18ce563331b714e01b03e5c08b62de7 Cr-Commit-Position: refs/heads/master@{#12820}

Patch Set 1 #

Total comments: 11

Patch Set 2 : refinement #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -9 lines) Patch
M webrtc/modules/audio_processing/agc/legacy/digital_agc.c View 1 7 chunks +10 lines, -9 lines 0 comments Download

Messages

Total messages: 25 (12 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/1999653002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1999653002/1
4 years, 7 months ago (2016-05-20 05:22:20 UTC) #2
minyue-webrtc
Hi Karl, You dealt with similar issues recently. Could you help in reviewing this?
4 years, 7 months ago (2016-05-20 05:23:18 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-20 06:19:08 UTC) #7
kwiberg-webrtc
lgtm, but see comments https://codereview.webrtc.org/1999653002/diff/1/webrtc/modules/audio_processing/agc/legacy/digital_agc.c File webrtc/modules/audio_processing/agc/legacy/digital_agc.c (right): https://codereview.webrtc.org/1999653002/diff/1/webrtc/modules/audio_processing/agc/legacy/digital_agc.c#newcode121 webrtc/modules/audio_processing/agc/legacy/digital_agc.c:121: kLog10_2 / 2); Yes, replacing ...
4 years, 7 months ago (2016-05-20 07:05:56 UTC) #8
minyue-webrtc
thanks for review! all fixed. https://codereview.webrtc.org/1999653002/diff/1/webrtc/modules/audio_processing/agc/legacy/digital_agc.c File webrtc/modules/audio_processing/agc/legacy/digital_agc.c (right): https://codereview.webrtc.org/1999653002/diff/1/webrtc/modules/audio_processing/agc/legacy/digital_agc.c#newcode147 webrtc/modules/audio_processing/agc/legacy/digital_agc.c:147: inLevel = ((int32_t)diffGain * ...
4 years, 7 months ago (2016-05-20 07:20:35 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1999653002/20001
4 years, 7 months ago (2016-05-20 07:20:44 UTC) #12
kwiberg-webrtc
lgtm
4 years, 7 months ago (2016-05-20 07:27:38 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/5670)
4 years, 7 months ago (2016-05-20 07:30:16 UTC) #15
minyue-webrtc
On 2016/05/20 07:30:16, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-05-20 07:37:17 UTC) #17
hlundin-webrtc
rubberstamp lgtm
4 years, 7 months ago (2016-05-20 07:49:41 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1999653002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1999653002/20001
4 years, 7 months ago (2016-05-20 07:50:45 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-20 08:23:56 UTC) #22
commit-bot: I haz the power
4 years, 7 months ago (2016-05-20 08:24:07 UTC) #24
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/30629957e18ce563331b714e01b03e5c08b62de7
Cr-Commit-Position: refs/heads/master@{#12820}

Powered by Google App Engine
This is Rietveld 408576698