[Asterisk-cvs] asterisk/channels iax2-parser.c,1.55,1.56
kpfleming
kpfleming
Mon Oct 31 18:36:27 CST 2005
- Previous message: [Asterisk-cvs] asterisk/include/asterisk netsock.h,1.3,1.4
- Next message: [Asterisk-cvs] asterisk/channels/misdn Makefile, NONE,
1.1 chan_misdn_config.h, NONE, 1.1 ie.c, NONE, 1.1 isdn_lib.c,
NONE, 1.1 isdn_lib.h, NONE, 1.1 isdn_msg_parser.c, NONE,
1.1 portinfo.c, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6410/channels
Modified Files:
iax2-parser.c
Log Message:
revert strncpy->ast_copy_string changes where the semantics are subtly different
Index: iax2-parser.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/iax2-parser.c,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- iax2-parser.c 27 Oct 2005 02:42:05 -0000 1.55
+++ iax2-parser.c 31 Oct 2005 23:28:30 -0000 1.56
@@ -77,7 +77,7 @@
maxlen--;
if (maxlen > len)
maxlen = len;
- ast_copy_string(output, value, maxlen);
+ strncpy(output, value, maxlen);
output[maxlen] = '\0';
}
@@ -92,7 +92,7 @@
if (maxlen > len)
maxlen = len;
- ast_copy_string(output, value, maxlen);
+ strncpy(output, value, maxlen);
output[maxlen] = '\0';
ast_codec_pref_convert(&pref, output, total_len, 0);
- Previous message: [Asterisk-cvs] asterisk/include/asterisk netsock.h,1.3,1.4
- Next message: [Asterisk-cvs] asterisk/channels/misdn Makefile, NONE,
1.1 chan_misdn_config.h, NONE, 1.1 ie.c, NONE, 1.1 isdn_lib.c,
NONE, 1.1 isdn_lib.h, NONE, 1.1 isdn_msg_parser.c, NONE,
1.1 portinfo.c, NONE, 1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list