git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6954 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant 2005-11-03 21:25:57 +00:00
parent 426360e389
commit 8925c3834b
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-11-03 Russell Bryant <russell@digium.com>
* 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 <kpfleming@digium.com>
* include/asterisk/app.h: re-work application arg/option parsing APIs for consistent naming, add doxygen docs for option API

View File

@ -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))