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/branches/10@330576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David Vossel
2011-08-02 15:55:36 +00:00
parent 9fb6bc039a
commit 03fd1aca68

View File

@@ -18608,7 +18608,7 @@ static void sip_dump_history(struct sip_pvt *dialog)
/*! \brief Receive SIP INFO Message */ /*! \brief Receive SIP INFO Message */
static void handle_request_info(struct sip_pvt *p, struct sip_request *req) static void handle_request_info(struct sip_pvt *p, struct sip_request *req)
{ {
char buf[1024]; char buf[1024] = { 0, };
unsigned int event; unsigned int event;
const char *c = get_header(req, "Content-Type"); const char *c = get_header(req, "Content-Type");