diff --git a/pbx.c b/pbx.c index e89e7e6af4..5a95e9a05d 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