]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-11372: [mod_commands] garbage uuid on output from bgapi #resolve
authorBrian West <brian@freeswitch.org>
Thu, 30 Aug 2018 19:33:22 +0000 (14:33 -0500)
committerBrian West <brian@freeswitch.org>
Thu, 30 Aug 2018 19:33:52 +0000 (14:33 -0500)
src/mod/applications/mod_commands/mod_commands.c

index 5ed543f40230d4b25984f035f4f5bf3b9e37980c..f20dc101e26cc335217dc0d7bb3778175d6a1d76 100644 (file)
@@ -5334,7 +5334,7 @@ SWITCH_STANDARD_API(bgapi_function)
        switch_threadattr_t *thd_attr = NULL;
        
        const char *p, *arg = cmd;
-       char my_uuid[SWITCH_UUID_FORMATTED_LENGTH + 1];
+       char my_uuid[SWITCH_UUID_FORMATTED_LENGTH + 1] = ""; 
 
        if (!cmd) {
                stream->write_function(stream, "-ERR Invalid syntax\n");