mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
initialize the buffer before using it...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@7386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
pbx.c
2
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
|
||||
|
||||
Reference in New Issue
Block a user