Re: [ecasound] Buffer too small for map-ladspa-list

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Mon Jan 23 2006 - 02:56:41 EET


I committed a quick fix to CVS for this. Proper fix will have to wait for
2.4.5. :(

PS This bug is now sfbug:1412409

On Thu, 27 Oct 2005, Kai Vehmanen wrote:
> On Mon, 24 Oct 2005, Stuart Allie wrote:
>> The cause is the static buffer size defined in ecasoundc_sa.c:
>> #define ECI_MAX_PARSER_BUF_SIZE 65536
>> With enough ladspa plugins installed (I have the swh, cmt, cap, and tap
>> sets) it is easy to go over this buffer limit by calling
>> map-ladspa-list. I get around 140,000 bytes returned, so it's probably
>> worth increasing this buffer to 256k, or even 512k to be safe.
> Yes, very true, having this type of limits is just lazy coding.
> The parser should really dynamically allocate more memory. Hmm,
> I'll try to fix this to the next release.

  links, my public keys, etc at
This email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
Ecasound-list mailing list
Received on Mon Jan 23 04:15:05 2006

This archive was generated by hypermail 2.1.8 : Mon Jan 23 2006 - 04:15:05 EET