[svn-commits] branch 1.2 - r7386 /branches/1.2/pbx.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Wed Dec 7 19:05:44 CST 2005
Author: kpfleming
Date: Wed Dec 7 19:05:43 2005
New Revision: 7386
URL: http://svn.digium.com/view/asterisk?rev=7386&view=rev
Log:
initialize the buffer before using it...
Modified:
branches/1.2/pbx.c
Modified: branches/1.2/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.2/pbx.c?rev=7386&r1=7385&r2=7386&view=diff
==============================================================================
--- branches/1.2/pbx.c (original)
+++ branches/1.2/pbx.c Wed Dec 7 19:05:43 2005
@@ -4652,7 +4652,7 @@
int res;
int length;
char *p;
- char expand_buf[VAR_BUF_SIZE];
+ char expand_buf[VAR_BUF_SIZE] = { 0, };
/* if we are adding a hint, and there are global variables, and the hint
contains variable references, then expand them
More information about the svn-commits
mailing list