File ZynAddSubFX-array-overflow-fix.diff of Package ZynAddSubFX

---
 src/Misc/Part.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: ZynAddSubFX-2.4.1/src/Misc/Part.h
===================================================================
--- ZynAddSubFX-2.4.1.orig/src/Misc/Part.h
+++ ZynAddSubFX-2.4.1/src/Misc/Part.h
@@ -149,7 +149,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;