[asterisk-commits] jpeeler: trunk r150309 - /trunk/apps/app_meetme.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Oct 16 19:14:19 CDT 2008
Author: jpeeler
Date: Thu Oct 16 19:14:19 2008
New Revision: 150309
URL: http://svn.digium.com/view/asterisk?view=rev&rev=150309
Log:
Initialize character arrays as they are not guaranteed to be set.
Modified:
trunk/apps/app_meetme.c
Modified: trunk/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_meetme.c?view=diff&rev=150309&r1=150308&r2=150309
==============================================================================
--- trunk/apps/app_meetme.c (original)
+++ trunk/apps/app_meetme.c Thu Oct 16 19:14:19 2008
@@ -3391,8 +3391,8 @@
}
}
if (!ast_strlen_zero(confno)) {
- char useropts[OPTIONS_LEN];
- char adminopts[OPTIONS_LEN];
+ char useropts[OPTIONS_LEN] = "";
+ char adminopts[OPTIONS_LEN] = "";
/* Check the validity of the conference */
cnf = find_conf(chan, confno, 1, dynamic, the_pin,
sizeof(the_pin), 1, &confflags);
More information about the asterisk-commits
mailing list