[asterisk-commits] dvossel: branch 10 r330576 - in /branches/10: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Aug 2 10:55:40 CDT 2011


Author: dvossel
Date: Tue Aug  2 10:55:36 2011
New Revision: 330576

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=330576
Log:
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
........

Modified:
    branches/10/   (props changed)
    branches/10/channels/chan_sip.c

Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.

Modified: branches/10/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_sip.c?view=diff&rev=330576&r1=330575&r2=330576
==============================================================================
--- branches/10/channels/chan_sip.c (original)
+++ branches/10/channels/chan_sip.c Tue Aug  2 10:55:36 2011
@@ -18608,7 +18608,7 @@
 /*! \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");
 




More information about the asterisk-commits mailing list