diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-06-29 14:24:53 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2010-06-29 14:24:53 +0000 |
commit | b34bd1ec300df6188b9c5540fbc38a420ae61e7b (patch) | |
tree | b87b17ef22f103b08579b0903a21c256255ec096 | |
parent | c337dddbfa3846ae90096200a605dfb86e4b48e4 (diff) |
prevent crashes by allocating a bigger bufferHEADsvn2git-headexternals/control/popen
svn path=/trunk/externals/control/popen/; revision=13688
-rw-r--r-- | popen.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ static void popen_anything(t_popen *x, t_symbol *s, int argc, t_atom *argv) { int i; char arg[MAXPDSTRING]; - char cmd[20] = ""; + char cmd[MAXPDSTRING] = ""; FILE *pPipe; int size = 0; for (i=0;i<argc;i++) { |