From df1d9a08fe9aa2c62fc98862028ca9371b8f6169 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 6 Jan 2018 14:57:34 -0500 Subject: [PATCH] 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. --- lib-src/sbsms/src/buffer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib-src/sbsms/src/buffer.h b/lib-src/sbsms/src/buffer.h index a0666d68b8b7..a83723608488 100644 --- a/lib-src/sbsms/src/buffer.h +++ b/lib-src/sbsms/src/buffer.h @@ -197,6 +197,7 @@ long ArrayRingBuffer :: nReadable() template void ArrayRingBuffer :: advance(long n) { + grow(N); memset(buf+readPos,0,n*sizeof(T)); readPos += n; if(readPos >= length) {