git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7054 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-11-10 23:26:40 +00:00
parent 54dd7ac9fa
commit 608d63ac54
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,7 @@
2005-11-10 Kevin P. Fleming <kpfleming@digium.com>
* res/res_features.c (load_config): properly initialize referenced variable (issue #5703)
* apps/app_queue.c (rqm_exec): correct segfault problem (issue #5705)
(aqm_exec): ditto

View File

@@ -1949,7 +1949,7 @@ static int load_config(void)
struct ast_config *cfg = NULL;
struct ast_variable *var = NULL;
char old_parking_ext[AST_MAX_EXTENSION];
char old_parking_con[AST_MAX_EXTENSION];
char old_parking_con[AST_MAX_EXTENSION] = "";
if (!ast_strlen_zero(parking_con)) {
strcpy(old_parking_ext, parking_ext);