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
/*! \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");