aboutsummaryrefslogtreecommitdiff
path: root/pmpd.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-08-12 10:04:50 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2011-08-12 10:04:50 +0000
commite425c5e6b99417355a8875dc7ad7191fd07324a1 (patch)
treeab3d74b5883681f4b765e42ed7fd621be05cc178 /pmpd.c
parentd803e6e7c40b12a0d9b26c17b7d43a3b3c3aad91 (diff)
fixed out-of-memory access when sending messages
svn path=/trunk/externals/pmpd/; revision=15210
Diffstat (limited to 'pmpd.c')
-rw-r--r--pmpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pmpd.c b/pmpd.c
index 07b8c14..8ad2f9b 100644
--- a/pmpd.c
+++ b/pmpd.c
@@ -755,7 +755,7 @@ void pmpd_get(t_pmpd *x, t_symbol *s, int argc, t_atom *argv)
{
int i;
t_symbol *toget;
- t_atom toout[2];
+ t_atom toout[3];
toget = atom_getsymbolarg(0, argc, argv);
if ( (toget == gensym("massesPos")) && (argv[1].a_type == A_FLOAT) )