[asterisk-commits] russell: branch 1.6.2 r203782 - in /branches/1.6.2: ./ channels/chan_sip.c

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


Author: russell
Date: Fri Jun 26 15:50:20 2009
New Revision: 203782

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=203782
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.2/   (props changed)
    branches/1.6.2/channels/chan_sip.c

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

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=203782&r1=203781&r2=203782
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Fri Jun 26 15:50:20 2009
@@ -2771,6 +2771,8 @@
 		reqcpy.data = str_save;
 		ast_str_reset(reqcpy.data);
 
+		memset(buf, 0, sizeof(buf));
+
 		if (tcptls_session->ssl) {
 			set_socket_transport(&req.socket, SIP_TRANSPORT_TLS);
 			req.socket.port = htons(ourport_tls);




More information about the asterisk-commits mailing list