From: Russell Bryant Date: Thu, 3 Nov 2005 21:25:57 +0000 (+0000) Subject: issue #5589 X-Git-Tag: 1.2.0-rc1~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8925c3834b87361042751e4f692626a77fd1b81b;p=thirdparty%2Fasterisk.git issue #5589 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6954 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/ChangeLog b/ChangeLog index c58b18cc69..8cdb166b06 100755 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-11-03 Russell Bryant + + * res/res_agi.c: initialize buffer for result so that the contents are always valid in the response to GET FULL VARIABLE + 2005-11-03 Kevin P. Fleming * include/asterisk/app.h: re-work application arg/option parsing APIs for consistent naming, add doxygen docs for option API diff --git a/res/res_agi.c b/res/res_agi.c index 36e0e28038..de3fcf0f78 100755 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -1168,7 +1168,7 @@ static int handle_getvariable(struct ast_channel *chan, AGI *agi, int argc, char static int handle_getvariablefull(struct ast_channel *chan, AGI *agi, int argc, char **argv) { - char tmp[4096]; + char tmp[4096] = ""; struct ast_channel *chan2=NULL; if ((argc != 4) && (argc != 5))