1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-09-18 09:00:52 +02:00

Bug1808 (crash in Sliding Time Scale/Pitch Shift) PATCHED IN LIB-SRC...

... Error was in the libaries' memory management, causing an out-of-bounds
read of a buffer obtained with calloc.
This commit is contained in:
Paul Licameli 2018-01-06 14:57:34 -05:00
parent 27d2b7c51b
commit df1d9a08fe

View File

@ -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) {