diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-08-12 10:04:50 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2011-08-12 10:04:50 +0000 |
commit | e425c5e6b99417355a8875dc7ad7191fd07324a1 (patch) | |
tree | ab3d74b5883681f4b765e42ed7fd621be05cc178 | |
parent | d803e6e7c40b12a0d9b26c17b7d43a3b3c3aad91 (diff) |
fixed out-of-memory access when sending messages
svn path=/trunk/externals/pmpd/; revision=15210
-rw-r--r-- | pmpd.c | 2 | ||||
-rw-r--r-- | pmpd2d.c | 2 | ||||
-rw-r--r-- | pmpd3d.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -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) )
@@ -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) )
@@ -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) )
|