aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-20 23:46:07 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-08-20 23:46:07 +0000
commit722c777d67d1c803f149939a0967187105e98d38 (patch)
treeb19357870185d505c10a8a7a1e5c703058e18111
parent031d8209fbd07c60c103be66457a2dbb875bad3e (diff)
Be sure workspace is initialized
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1388 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xpbx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx.c b/pbx.c
index ff1740afe..c1a4a7280 100755
--- a/pbx.c
+++ b/pbx.c
@@ -993,6 +993,7 @@ void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char
}
/* Retrieve variable value */
+ strcpy(workspace, "");
pbx_substitute_variables_temp(c,vars,&cp4, workspace, sizeof(workspace));
if (cp4) {
length = strlen(cp4);