[Asterisk-cvs] asterisk/apps app_cut.c,1.3,1.3.2.1
markster at lists.digium.com
markster at lists.digium.com
Tue Feb 24 14:09:30 CST 2004
Update of /usr/cvsroot/asterisk/apps
In directory mongoose.digium.com:/tmp/cvs-serv28315/apps
Modified Files:
Tag: v1-0_stable
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.3.2.1
diff -u -d -r1.3 -r1.3.2.1
--- app_cut.c 4 Nov 2003 00:44:51 -0000 1.3
+++ app_cut.c 24 Feb 2004 18:58:04 -0000 1.3.2.1
@@ -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