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:
parent
27d2b7c51b
commit
df1d9a08fe
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user