aboutsummaryrefslogtreecommitdiff
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
parentd803e6e7c40b12a0d9b26c17b7d43a3b3c3aad91 (diff)
fixed out-of-memory access when sending messages
svn path=/trunk/externals/pmpd/; revision=15210
-rw-r--r--pmpd.c2
-rw-r--r--pmpd2d.c2
-rw-r--r--pmpd3d.c2
3 files changed, 3 insertions, 3 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) )
diff --git a/pmpd2d.c b/pmpd2d.c
index 830b207..134d305 100644
--- a/pmpd2d.c
+++ b/pmpd2d.c
@@ -1183,7 +1183,7 @@ void pmpd2d_get(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv)
{
int i;
t_symbol *toget;
- t_atom toout[3];
+ t_atom toout[5];
toget = atom_getsymbolarg(0, argc, argv);
if ( (toget == gensym("massesPos")) && (argv[1].a_type == A_FLOAT) )
diff --git a/pmpd3d.c b/pmpd3d.c
index 75958da..dc9575f 100644
--- a/pmpd3d.c
+++ b/pmpd3d.c
@@ -1359,7 +1359,7 @@ void pmpd3d_get(t_pmpd3d *x, t_symbol *s, int argc, t_atom *argv)
{
int i;
t_symbol *toget;
- t_atom toout[4];
+ t_atom toout[7];
toget = atom_getsymbolarg(0, argc, argv);
if ( (toget == gensym("massesPos")) && (argv[1].a_type == A_FLOAT) )