[Asterisk-cvs] asterisk/pbx dundi-parser.c,1.4,1.5
markster at lists.digium.com
markster at lists.digium.com
Tue Nov 2 16:36:11 CST 2004
Update of /usr/cvsroot/asterisk/pbx
In directory mongoose.digium.com:/tmp/cvs-serv29773/pbx
Modified Files:
dundi-parser.c
Log Message:
Fix off-by-one buglet
Index: dundi-parser.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx/dundi-parser.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- dundi-parser.c 27 Oct 2004 13:58:31 -0000 1.4
+++ dundi-parser.c 2 Nov 2004 21:38:38 -0000 1.5
@@ -117,6 +117,7 @@
static void dump_cbypass(char *output, int maxlen, void *value, int len)
{
+ maxlen--;
strncpy(output, "Bypass Caches", maxlen);
output[maxlen] = '\0';
}
More information about the svn-commits
mailing list