aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index e89e7e6af..5a95e9a05 100644
--- a/pbx.c
+++ b/pbx.c
@@ -4652,7 +4652,7 @@ int ast_add_extension2(struct ast_context *con,
int res;
int length;
char *p;
- char expand_buf[VAR_BUF_SIZE];
+ char expand_buf[VAR_BUF_SIZE] = { 0, };
/* if we are adding a hint, and there are global variables, and the hint
contains variable references, then expand them