From: Kevin P. Fleming Date: Thu, 10 Nov 2005 23:26:40 +0000 (+0000) Subject: issue #5703 X-Git-Tag: 1.2.0-rc2~37 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=608d63ac5420009bead77a6b0d18c63fd19aba5d;p=thirdparty%2Fasterisk.git issue #5703 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7054 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/ChangeLog b/ChangeLog index 315883afef..1608136f30 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-11-10 Kevin P. Fleming + * 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 04cccc2653..052b4830b1 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);