aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-08 01:06:09 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-12-08 01:06:09 +0000
commit2fac57f45aafb9969249b0c27bd81b06cc2ebbe7 (patch)
tree2ee87f30c45fb5b7c2a951636a519f0ed6675de4 /pbx.c
parent06d238bd07082985e8c4202e7d6c0c94996604d3 (diff)
Merged revisions 7386 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7386 | kpfleming | 2005-12-07 19:05:43 -0600 (Wed, 07 Dec 2005) | 2 lines initialize the buffer before using it... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7387 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rw-r--r--pbx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pbx.c b/pbx.c
index 4850cca5c..3ecf07067 100644
--- a/pbx.c
+++ b/pbx.c
@@ -4614,7 +4614,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