[Asterisk-cvs] asterisk/apps app_cut.c,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Tue Feb 24 14:09:11 CST 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv28299/apps
Modified Files:
app_cut.c
Log Message:
Fix corruptin in app_cut (bug #1084)
Index: app_cut.c
===================================================================
RCS file: /usr/cvsroot/asterisk/apps/app_cut.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- app_cut.c 4 Nov 2003 00:44:51 -0000 1.3
+++ app_cut.c 24 Feb 2004 18:57:46 -0000 1.4
@@ -85,6 +85,8 @@
char *tmp2 = alloca(MAXRESULT);
char retstring[MAXRESULT];
+ if (tmp2)
+ memset(tmp2, 0, MAXRESULT);
memset(retstring, 0, MAXRESULT);
if (tmp && tmp2) {
More information about the svn-commits
mailing list