From: Russell Bryant Date: Fri, 22 Apr 2011 14:35:17 +0000 (+0000) Subject: Recorded merge of revisions 314822 via svnmerge from X-Git-Tag: 1.6.2.19-rc1~3^2~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e26c0cb085f71854c3af54155a8abd8fa943ac6f;p=thirdparty%2Fasterisk.git Recorded merge of revisions 314822 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r314822 | russell | 2011-04-22 09:34:23 -0500 (Fri, 22 Apr 2011) | 11 lines Initialize buffers in getvar and getvarfull. Initialize the buffers used to hold the result from GET VARIABLE or GET VARIABLE FULL. The bug report shows func_read returning garbage in the result. It assumed that the buffer passed in was initialized, like many other functions do. In the more common code path (through the dialplan), it is initialized, so just initialize it here too. (closes issue #19050) Reported by: johnz ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@314823 65c4cc65-6c06-0410-ace0-fbb531ad65f3 ---