[asterisk-commits] trunk - r7387 in /trunk: ./ pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Dec 7 19:06:09 CST 2005


Author: kpfleming
Date: Wed Dec  7 19:06:09 2005
New Revision: 7387

URL: http://svn.digium.com/view/asterisk?rev=7387&view=rev
Log:
Merged revisions 7386 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r7386 | kpfleming | 2005-12-07 19:05:43 -0600 (Wed, 07 Dec 2005) | 2 lines

initialize the buffer before using it...

........

Modified:
    trunk/   (props changed)
    trunk/pbx.c

Propchange: trunk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Dec  7 19:06:09 2005
@@ -1,1 +1,1 @@
-/branches/1.2:1-7382
+/branches/1.2:1-7386

Modified: trunk/pbx.c
URL: http://svn.digium.com/view/asterisk/trunk/pbx.c?rev=7387&r1=7386&r2=7387&view=diff
==============================================================================
--- trunk/pbx.c (original)
+++ trunk/pbx.c Wed Dec  7 19:06:09 2005
@@ -4614,7 +4614,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 asterisk-commits mailing list