[Freeswitch-svn] [commit] r12593 - freeswitch/trunk/libs/esl/src
FreeSWITCH SVN
anthm at freeswitch.org
Fri Mar 13 12:18:05 PDT 2009
Author: anthm
Date: Fri Mar 13 14:18:05 2009
New Revision: 12593
Log:
pad buffer
Modified:
freeswitch/trunk/libs/esl/src/esl_oop.cpp
Modified: freeswitch/trunk/libs/esl/src/esl_oop.cpp
==============================================================================
--- freeswitch/trunk/libs/esl/src/esl_oop.cpp (original)
+++ freeswitch/trunk/libs/esl/src/esl_oop.cpp Fri Mar 13 14:18:05 2009
@@ -63,7 +63,7 @@
return NULL;
}
- len = strlen(cmd) + (arg ? strlen(arg) : 0) + 5;
+ len = strlen(cmd) + (arg ? strlen(arg) : 0) + 10;
cmd_buf = (char *) malloc(len);
assert(cmd_buf);
@@ -92,7 +92,7 @@
return NULL;
}
- len = strlen(cmd) + (arg ? strlen(arg) : 0) + 8;
+ len = strlen(cmd) + (arg ? strlen(arg) : 0) + 10;
cmd_buf = (char *) malloc(len);
assert(cmd_buf);
More information about the Freeswitch-svn
mailing list