diff options
-rwxr-xr-x | ChangeLog | 2 | ||||
-rwxr-xr-x | res/res_features.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 diff --git a/res/res_features.c b/res/res_features.c index 04cccc265..052b4830b 100755 --- a/res/res_features.c +++ b/res/res_features.c @@ -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); |