|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
max length of stringHello,
Would it be ok to increase the max length of a string variable in Csound ? See attached csd, a long string causes a strcpy buffer overflow. I would need long strings to create lists of parameter names, where a macro should be called with parameter name as an argument. I'm parsing the string with another macro, popping each parameter name one by one from the long string. This way, it will be possible to do simple iteration on lists in Csound. Oeyvind ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: max length of string... and forgot the attachment, sorry
2009/6/19 Oeyvind Brandtsegg <obrandts@...>: > Hello, > > Would it be ok to increase the max length of a string variable in Csound ? > See attached csd, a long string causes a strcpy buffer overflow. > > I would need long strings to create lists of parameter names, where a > macro should be called with parameter name as an argument. > I'm parsing the string with another macro, popping each parameter name > one by one from the long string. > This way, it will be possible to do simple iteration on lists in Csound. > > Oeyvind > ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: max length of string(min: 10, max: 10000) Maximum length of string variables + 1; defaults to 256 allowing a length of 255 characters. The length of string constants is not limited by this parameter. On Jun 19, 2009, at 1:39 AM, Oeyvind Brandtsegg wrote:
------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: max length of stringAha, many thanks.
Oeyvind 2009/6/22 matt ingalls <development@...>: > more than 10,000 commandline flag: > -+max_str_len=integer > > (min: 10, max: 10000) Maximum length of string variables + 1; defaults to > 256 allowing a length of 255 characters. The length of string constants is > not limited by this parameter. > > On Jun 19, 2009, at 1:39 AM, Oeyvind Brandtsegg wrote: > > Hello, > > Would it be ok to increase the max length of a string variable in Csound ? > See attached csd, a long string causes a strcpy buffer overflow. > > I would need long strings to create lists of parameter names, where a > macro should be called with parameter name as an argument. > I'm parsing the string with another macro, popping each parameter name > one by one from the long string. > This way, it will be possible to do simple iteration on lists in Csound. > > Oeyvind > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > > matt ingalls > development@... > > > > ------------------------------------------------------------------------------ > Are you an open source citizen? Join us for the Open Source Bridge > conference! > Portland, OR, June 17-19. Two days of sessions, one day of unconference: > $250. > Need another reason to go? 24-hour hacker lounge. Register today! > http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > > ------------------------------------------------------------------------------ Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
| Free embeddable forum powered by Nabble | Forum Help |