aboutsummaryrefslogtreecommitdiff
path: root/shared/common
diff options
context:
space:
mode:
Diffstat (limited to 'shared/common')
-rw-r--r--shared/common/binport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared/common/binport.c b/shared/common/binport.c
index 90cf251..b5f5e72 100644
--- a/shared/common/binport.c
+++ b/shared/common/binport.c
@@ -462,6 +462,7 @@ static t_symbol *binport_makesymbol(t_binport *bp, int id)
static int binport_setbysymtable(t_binport *bp, t_atom *ap, int id)
{
t_symbol *s;
+ if(id<0) return 0;
if (id < bp->b_nsymbols)
s = bp->b_symtable[id];
else