]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Initialize character arrays as they are not guaranteed to be set.
authorJeff Peeler <jpeeler@digium.com>
Fri, 17 Oct 2008 00:14:19 +0000 (00:14 +0000)
committerJeff Peeler <jpeeler@digium.com>
Fri, 17 Oct 2008 00:14:19 +0000 (00:14 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150309 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_meetme.c

index 6a832e7619bb522c0a0c34dc27ba094a39f15818..070c3c7dc41cd64608897f0198e9a17665e6ebb8 100644 (file)
@@ -3391,8 +3391,8 @@ static int conf_exec(struct ast_channel *chan, void *data)
                        }
                }
                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);