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

Issue 2980723002: Avoid buffer over-read in AEC2 by zeroing memory instead of copying. (Closed)

Created:
3 years, 5 months ago by saza WebRTC
Modified:
3 years, 5 months ago
Reviewers:
peah-webrtc, peah
CC:
webrtc-reviews_webrtc.org, AleBzk, peah-webrtc, Andrew MacDonald, aleloi, tterriberry_mozilla.com, audio-team_agora.io, hlundin-webrtc, kwiberg-webrtc, minyue-webrtc, the sun, aluebs-webrtc, bjornv1
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Set memory to all-zero floats in ExtractExtendedBlock in AEC2 if buffer is empty. This avoids a memcopy call which may corrupt audio handling and, in rare cases, crash WebRTC with a buffer over-read. BUG=webrtc:7845 Review-Url: https://codereview.webrtc.org/2980723002 Cr-Commit-Position: refs/heads/master@{#18984} Committed: https://chromium.googlesource.com/external/webrtc/+/f91b0b49f911a3c3996b19e7e6b31f5e982af650

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -6 lines) Patch
M webrtc/modules/audio_processing/aec/aec_core.cc View 1 chunk +11 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 11 (7 generated)
saza WebRTC
ptal
3 years, 5 months ago (2017-07-12 08:09:40 UTC) #4
peah-webrtc
Awesome! lgtm
3 years, 5 months ago (2017-07-12 08:13:09 UTC) #6
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/2980723002/1
3 years, 5 months ago (2017-07-12 08:18:04 UTC) #8
commit-bot: I haz the power
3 years, 5 months ago (2017-07-12 08:43:22 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/f91b0b49f911a3c3996b19e7e...

Powered by Google App Engine
This is Rietveld 408576698