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

Issue 2659383002: iSAC float decoder: Don't read past end of initialized part of buffer (Closed)

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

Description

iSAC float decoder: Don't read past end of initialized part of buffer We read past the end of the initialized part of the buffer, seemingly on purpose (no one knows the details of this code anymore). The right thing to do is probably to zero that part of the buffer. (The *right* right thing to would be to rewrite this so that it was easier to see what data was supposed to be where when, but priorities...) BUG=chromium:683040 Review-Url: https://codereview.webrtc.org/2659383002 Cr-Commit-Position: refs/heads/master@{#16365} Committed: https://chromium.googlesource.com/external/webrtc/+/c14b7ed479b8efb38ca04ea536272bd7a2d4f0ff

Patch Set 1 #

Patch Set 2 : Use a compile-time check, because we can! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -0 lines) Patch
M webrtc/modules/audio_coding/codecs/isac/main/source/pitch_filter.c View 1 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
kwiberg-webrtc
Please double-check the arithmetic carefully for me, would you?
3 years, 10 months ago (2017-01-30 14:20:46 UTC) #4
hlundin-webrtc
lgtm
3 years, 10 months ago (2017-01-30 14:53: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/2659383002/20001
3 years, 10 months ago (2017-01-30 19:38:30 UTC) #10
commit-bot: I haz the power
3 years, 10 months ago (2017-01-30 20:17:10 UTC) #13
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/c14b7ed479b8efb38ca04ea53...

Powered by Google App Engine
This is Rietveld 408576698