Skip to content

Commit

Permalink
Bug1808 (crash in Sliding Time Scale/Pitch Shift) PATCHED IN LIB-SRC...
Browse files Browse the repository at this point in the history
... Error was in the libaries' memory management, causing an out-of-bounds
read of a buffer obtained with calloc.
  • Loading branch information
Paul-Licameli committed Jan 6, 2018
1 parent 27d2b7c commit df1d9a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib-src/sbsms/src/buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ long ArrayRingBuffer<T> :: nReadable()

template<class T>
void ArrayRingBuffer<T> :: advance(long n) {
grow(N);
memset(buf+readPos,0,n*sizeof(T));
readPos += n;
if(readPos >= length) {
Expand Down

0 comments on commit df1d9a0

Please sign in to comment.