[Asterisk-cvs] asterisk pbx.c,1.250,1.251
kpfleming at lists.digium.com
kpfleming at lists.digium.com
Sun Jun 5 12:06:09 CDT 2005
- Previous message: [Asterisk-cvs] asterisk/channels chan_skinny.c,1.76,1.77
- Next message: [Asterisk-cvs] asterisk app.c, 1.62, 1.63 asterisk.c, 1.158,
1.159 channel.c, 1.199, 1.200 file.c, 1.65, 1.66 pbx.c, 1.251, 1.252
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv2056
Modified Files:
pbx.c
Log Message:
don't try to copy NULL appdata (bug #4422)
Index: pbx.c
===================================================================
RCS file: /usr/cvsroot/asterisk/pbx.c,v
retrieving revision 1.250
retrieving revision 1.251
diff -u -d -r1.250 -r1.251
--- pbx.c 5 Jun 2005 15:04:43 -0000 1.250
+++ pbx.c 5 Jun 2005 16:08:44 -0000 1.251
@@ -5038,7 +5038,8 @@
if (tmp) {
memset(tmp, 0, sizeof(struct app_tmp));
strncpy(tmp->app, app, sizeof(tmp->app) - 1);
- strncpy(tmp->data, appdata, sizeof(tmp->data) - 1);
+ if (appdata)
+ ast_copy_string(tmp->data, appdata, sizeof(tmp->data));
tmp->chan = chan;
if (sync > 1) {
if (locked_channel)
- Previous message: [Asterisk-cvs] asterisk/channels chan_skinny.c,1.76,1.77
- Next message: [Asterisk-cvs] asterisk app.c, 1.62, 1.63 asterisk.c, 1.158,
1.159 channel.c, 1.199, 1.200 file.c, 1.65, 1.66 pbx.c, 1.251, 1.252
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list