mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 06:48:25 +00:00
Be sure workspace is initialized
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1388 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
1
pbx.c
1
pbx.c
@@ -993,6 +993,7 @@ void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Retrieve variable value */
|
/* Retrieve variable value */
|
||||||
|
strcpy(workspace, "");
|
||||||
pbx_substitute_variables_temp(c,vars,&cp4, workspace, sizeof(workspace));
|
pbx_substitute_variables_temp(c,vars,&cp4, workspace, sizeof(workspace));
|
||||||
if (cp4) {
|
if (cp4) {
|
||||||
length = strlen(cp4);
|
length = strlen(cp4);
|
||||||
|
|||||||
Reference in New Issue
Block a user