Mismatch of the expected and provided function argument size in renderIsmToMASA
Found in #887 (closed)
In lib_rend/lib_rend.c function renderIsmToMasa the variable
float tmpRendBuffer[MAX_NUM_OBJECTS][L_FRAME48k];
is used as the input argument to
-
copyBufferTo2dArrayexpecting the argument to befloat array[MAX_OUTPUT_CHANNELS][L_FRAME48k], and -
accumulate2dArrayToBufferexpecting the argument to befloat array[MAX_OUTPUT_CHANNELS][L_FRAME48k].
In both cases, the actual number of channels to process is read from buffer->config.numChannels and no over-indexing takes place.