summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorDavid Vossel <dvossel@digium.com>2011-08-02 16:04:34 +0000
committerDavid Vossel <dvossel@digium.com>2011-08-02 16:04:34 +0000
commitd50e68c8273cc5eef2df64ea8d916d183094cac8 (patch)
treee36c6548dccfafce6e3b4722eb63fc6115afc87a /channels
parent4e1b07f243a3eb057d5c3d70c9fea59c1072b13c (diff)
Merged revisions 330576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10 ................ r330576 | dvossel | 2011-08-02 10:55:36 -0500 (Tue, 02 Aug 2011) | 12 lines Merged revisions 330575 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r330575 | dvossel | 2011-08-02 10:53:21 -0500 (Tue, 02 Aug 2011) | 5 lines Fixes uninitialized string buffer in log message. (closes issue ASTERISK-17200) Reported by: lmadsen ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@330577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index b08a54958..ac713f735 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -18608,7 +18608,7 @@ static void sip_dump_history(struct sip_pvt *dialog)
/*! \brief Receive SIP INFO Message */
static void handle_request_info(struct sip_pvt *p, struct sip_request *req)
{
- char buf[1024];
+ char buf[1024] = { 0, };
unsigned int event;
const char *c = get_header(req, "Content-Type");