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

Issue 23689004: Don't read past the end of the impulseResponse array (Closed)

Created:
7 years, 3 months ago by Raymond Toy (Google)
Modified:
7 years, 3 months ago
CC:
blink-reviews, eae+blinkwatch, dglazkov+blink, jeez
Visibility:
Public.

Description

Don't read past the end of the impulseResponse array BUG=281480 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=157007

Patch Set 1 #

Total comments: 1

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M Source/core/platform/audio/ReverbConvolverStage.cpp View 1 1 chunk +4 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Raymond Toy (Google)
PTAL.
7 years, 3 months ago (2013-08-29 21:36:18 UTC) #1
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/23689004/diff/1/Source/core/platform/audio/ReverbConvolverStage.cpp File Source/core/platform/audio/ReverbConvolverStage.cpp (right): https://codereview.chromium.org/23689004/diff/1/Source/core/platform/audio/ReverbConvolverStage.cpp#newcode62 Source/core/platform/audio/ReverbConvolverStage.cpp:62: m_directKernel->copyToRange(impulseResponse + stageOffset, 0, std::min(stageLength, fftSize / 2)); Why ...
7 years, 3 months ago (2013-08-29 21:49:23 UTC) #2
Raymond Toy (Google)
On 2013/08/29 21:49:23, Ken Russell wrote: > https://codereview.chromium.org/23689004/diff/1/Source/core/platform/audio/ReverbConvolverStage.cpp > File Source/core/platform/audio/ReverbConvolverStage.cpp (right): > > https://codereview.chromium.org/23689004/diff/1/Source/core/platform/audio/ReverbConvolverStage.cpp#newcode62 ...
7 years, 3 months ago (2013-08-29 22:27:43 UTC) #3
Raymond Toy (Google)
PTAL. I've simplified the implementation; it now looks more like the other if branch and ...
7 years, 3 months ago (2013-08-30 16:38:44 UTC) #4
Ken Russell (switch to Gerrit)
OK, if you think this is the right fix. LGTM
7 years, 3 months ago (2013-08-30 17:06:26 UTC) #5
Raymond Toy (Google)
On 2013/08/30 17:06:26, Ken Russell wrote: > OK, if you think this is the right ...
7 years, 3 months ago (2013-08-30 17:29:59 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rtoy@google.com/23689004/7001
7 years, 3 months ago (2013-08-30 17:30:30 UTC) #7
commit-bot: I haz the power
7 years, 3 months ago (2013-08-30 19:16:51 UTC) #8
Message was sent while issue was closed.
Change committed as 157007

Powered by Google App Engine
This is Rietveld 408576698