[Csnd-dev] Oddity in DSSI
| Date | 2017-11-08 21:38 |
| From | jpff |
| Subject | [Csnd-dev] Oddity in DSSI |
In dssi4cs.c about line 300 there is something odd
DSSIPlugin_->Descriptor =
(LADSPA_Descriptor *) csound->Calloc(csound,
sizeof(LADSPA_Descriptor));
DSSIPlugin_->Descriptor =
(LADSPA_Descriptor *) pfDescriptorFunction(PluginIndex);
LDescriptor = (LADSPA_Descriptor *) DSSIPlugin_->Descriptor;
Space is allocated and immediately overwritten. It looks the same in
csound5 final version. Does anyone have an early cs5 version? Or
better a fix?
|
| Date | 2017-11-08 23:37 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd-dev] Oddity in DSSI |
|
surely the second statement should be a memcpy rather than an assignment. Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland
|