From 31028063905db6f207a55adab4ee321dd6897fc6 Mon Sep 17 00:00:00 2001 From: Brian West Date: Thu, 30 Aug 2018 14:33:22 -0500 Subject: [PATCH] FS-11372: [mod_commands] garbage uuid on output from bgapi #resolve --- src/mod/applications/mod_commands/mod_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 5ed543f402..f20dc101e2 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -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");