[asterisk-commits] russell: branch 1.6.0 r203780 - in /branches/1.6.0: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 26 15:47:06 CDT 2009


Author: russell
Date: Fri Jun 26 15:46:55 2009
New Revision: 203780

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=203780
Log:
Merged revisions 203779 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r203779 | russell | 2009-06-26 15:45:00 -0500 (Fri, 26 Jun 2009) | 5 lines
  
  Ensure the TCP read buffer is fully initialized before handling each packet.
  
  (closes issue #14452)
  Reported by: umberto71
........

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

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=203780&r1=203779&r2=203780
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Fri Jun 26 15:46:55 2009
@@ -2246,6 +2246,8 @@
 		req.len = 0;
 		req.ignore = 0;
 		req.debug = 0;
+
+		memset(buf, 0, sizeof(buf));
 
 		if (tcptls_session->ssl) {
 			set_socket_transport(&req.socket, SIP_TRANSPORT_TLS);




More information about the asterisk-commits mailing list