Csound Csound-dev Csound-tekno Search About

[Cs-dev] freeverb bug in 5.09

Date2008-10-03 21:11
Fromdp51
Subject[Cs-dev] freeverb bug in 5.09
Hi,

There are pointer arithmetic bugs in freeverb.c:

line 140:    combp = (freeVerbComb*)(p->auxData.auxp) + (int) nbytes;
line 161:    p->tmpBuf = (MYFLT*) (p->auxData.auxp) + (int) nbytes;

Changing them back to what they were in 5.08 fixes it:

line 140:    combp = (freeVerbComb*)((unsigned char*)p->auxData.auxp + (int)
nbytes);
line 161:    p->tmpBuf = (MYFLT*) ((unsigned char*)p->auxData.auxp + (int)
nbytes);

Davis
-- 
View this message in context: http://www.nabble.com/freeverb-bug-in-5.09-tp19804778p19804778.html
Sent from the Csound - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net