Use proper type of node->buf for later memset to avoid buffer overflows

This commit is contained in:
Marcus Weseloh 2017-10-04 22:38:49 +02:00
parent 30dc8f399a
commit 842d8ba963

View file

@ -704,7 +704,7 @@ fluid_LADSPA_run(fluid_LADSPA_FxUnit_t* FxUnit, fluid_real_t* left_buf[], fluid_
int nr_audio_channels;
int nr_fx_sends;
int nr_groups;
int byte_size = FLUID_BUFSIZE * sizeof(fluid_real_t);
int byte_size = FLUID_BUFSIZE * sizeof(LADSPA_Data);
char str[99];
fluid_LADSPA_Node_t* n;