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

Issue 2318083002: VadCore: Allow signed multiplication overflow that we don't know how to fix (Closed)

Created:
4 years, 3 months ago by kwiberg-webrtc
Modified:
4 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, peah-webrtc, minyue-webrtc, aluebs-webrtc, bjornv1
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

VadCore: Allow signed multiplication overflow that we don't know how to fix The right thing to do would be to ensure that the multiplication can't overflow, but that'd be a major change bordering on a rewrite, and would take too much time. So instead, we just instruct UBSan to look the other way. BUG=chromium:634834 Committed: https://crrev.com/27c7b8ff115205653c84631fb2650f03b7fda33a Cr-Commit-Position: refs/heads/master@{#14154}

Patch Set 1 #

Patch Set 2 : Handle compilers that define __clang__ but don't have the no_sanitize attribute #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -1 line) Patch
M webrtc/base/sanitizer.h View 1 1 chunk +9 lines, -0 lines 0 comments Download
M webrtc/common_audio/vad/vad_core.c View 3 chunks +11 lines, -1 line 0 comments Download

Messages

Total messages: 23 (12 generated)
kwiberg-webrtc
As stated in the bug, I haven't been able to try this fix. But it ...
4 years, 3 months ago (2016-09-07 12:50:55 UTC) #4
hlundin-webrtc
lgtm
4 years, 3 months ago (2016-09-07 20:35:57 UTC) #5
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/2318083002/40001
4 years, 3 months ago (2016-09-08 08:20:33 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios_api_framework on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_api_framework/builds/2475)
4 years, 3 months ago (2016-09-08 08:24:02 UTC) #9
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/2318083002/60001
4 years, 3 months ago (2016-09-08 10:34:46 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: android_compile_x86_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_compile_x86_rel/builds/1454)
4 years, 3 months ago (2016-09-08 11:09:07 UTC) #14
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/2318083002/60001
4 years, 3 months ago (2016-09-08 12:54:07 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 3 months ago (2016-09-08 14:54:43 UTC) #18
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/2318083002/60001
4 years, 3 months ago (2016-09-09 09:03:03 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 3 months ago (2016-09-09 09:04:41 UTC) #21
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 09:04:51 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/27c7b8ff115205653c84631fb2650f03b7fda33a
Cr-Commit-Position: refs/heads/master@{#14154}

Powered by Google App Engine
This is Rietveld 408576698