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

Issue 1894483002: Prevents a segfault in the noise suppression code on ARMv7 with NEON instructions and Mips platform… (Closed)

Created:
4 years, 8 months ago by ivoc
Modified:
4 years, 8 months ago
Reviewers:
hlundin-webrtc
CC:
webrtc-reviews_webrtc.org, peah-webrtc, Andrew MacDonald, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-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

Prevents a segfault in the noise suppression code on ARMv7 with NEON instructions and Mips platforms. Integer wraparound when casting from int32 to int16 can cause invalid array indices to be accessed. Fix for wraparound issue. BUG=webrtc:5781 Committed: https://crrev.com/3bc9566f5aa0fae0015419c02f73cf22d6d55c2f Cr-Commit-Position: refs/heads/master@{#12449}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Addressed Henrik's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -12 lines) Patch
M webrtc/modules/audio_processing/ns/nsx_core_c.c View 1 3 chunks +6 lines, -6 lines 0 comments Download
M webrtc/modules/audio_processing/ns/nsx_core_mips.c View 1 3 chunks +6 lines, -6 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
ivoc
Please have a look :)
4 years, 8 months ago (2016-04-15 08:04:58 UTC) #2
hlundin-webrtc
(Changing instantiation of myself.)
4 years, 8 months ago (2016-04-15 08:20:06 UTC) #4
hlundin-webrtc
https://codereview.webrtc.org/1894483002/diff/1/webrtc/modules/audio_processing/ns/nsx_core_c.c File webrtc/modules/audio_processing/ns/nsx_core_c.c (right): https://codereview.webrtc.org/1894483002/diff/1/webrtc/modules/audio_processing/ns/nsx_core_c.c#newcode99 webrtc/modules/audio_processing/ns/nsx_core_c.c:99: if (tmp32no1 < (16<<14) && tmp32no1 >= 0) { ...
4 years, 8 months ago (2016-04-15 08:28:31 UTC) #5
ivoc
https://codereview.webrtc.org/1894483002/diff/1/webrtc/modules/audio_processing/ns/nsx_core_mips.c File webrtc/modules/audio_processing/ns/nsx_core_mips.c (right): https://codereview.webrtc.org/1894483002/diff/1/webrtc/modules/audio_processing/ns/nsx_core_mips.c#newcode166 webrtc/modules/audio_processing/ns/nsx_core_mips.c:166: if (tmp32no1 < (16<<14) && tmp32no1 >= 0) { ...
4 years, 8 months ago (2016-04-15 08:37:25 UTC) #6
hlundin-webrtc
lgtm
4 years, 8 months ago (2016-04-15 09:09:54 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894483002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894483002/20001
4 years, 8 months ago (2016-04-15 09:12:41 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) linux_baremetal on ...
4 years, 8 months ago (2016-04-15 11:13:11 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894483002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894483002/20001
4 years, 8 months ago (2016-04-19 09:58:47 UTC) #13
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:59:20 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1894483002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1894483002/20001
4 years, 8 months ago (2016-04-20 14:07:55 UTC) #17
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-20 15:25:26 UTC) #18
commit-bot: I haz the power
4 years, 8 months ago (2016-04-20 15:29:24 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3bc9566f5aa0fae0015419c02f73cf22d6d55c2f
Cr-Commit-Position: refs/heads/master@{#12449}

Powered by Google App Engine
This is Rietveld 408576698