File ZynAddSubFX-array-overflow-fix.diff of Package ZynAddSubFX
--- src/Misc/Part.h-dist 2007-02-26 12:49:06.000000000 +0100
+++ src/Misc/Part.h 2007-02-26 12:49:15.000000000 +0100
@@ -135,7 +135,7 @@ class Part{
EffectMgr *partefx[NUM_PART_EFX];//insertion part effects (they are part of the instrument)
unsigned char Pefxroute[NUM_PART_EFX];//how the effect's output is routed(to next effect/to out)
- bool Pefxbypass[NUM_PART_EFX];//if the effects are bypassed
+ bool Pefxbypass[NUM_PART_EFX+1];//if the effects are bypassed
pthread_mutex_t *mutex;