james34602 / JamesDSPManager

Audio DSP effects build on Android system framework layer. This is a repository contains a pack of high quality DSP algorithms specialized for audio processing.
https://forum.xda-developers.com/android/apps-games/app-reformed-dsp-manager-t3607970
583 stars 49 forks source link

Fix crash caused by re-use of dangling pointer #48

Closed timschneeb closed 1 year ago

timschneeb commented 1 year ago

Original crash report: https://github.com/Audio4Linux/JDSP4Linux/issues/145

A crash occurs when the buffer size changes for the second time.

FFTConvolver2x4x2Free crashes because the pointer jdsp->advXF.convLong_T_S has not been set to null after being freed and still points to freed memory.