[asterisk-commits] russell: branch 1.6.1 r203781 - in /branches/1.6.1: ./ channels/chan_sip.c

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


Author: russell
Date: Fri Jun 26 15:48:29 2009
New Revision: 203781

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

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

Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=203781&r1=203780&r2=203781
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Fri Jun 26 15:48:29 2009
@@ -2404,6 +2404,8 @@
 		memset(&reqcpy, 0, sizeof(reqcpy));
 		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);




More information about the asterisk-commits mailing list