Fixes uninitialized string buffer in log message.

(closes issue ASTERISK-17200)
Reported by: lmadsen


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@330575 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
David Vossel
2011-08-02 15:53:21 +00:00
parent 6a22e2a0a2
commit 2ad3c61a2e

View File

@@ -18124,7 +18124,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");