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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Dec 12 12:22:48 CST 2008


Author: russell
Date: Fri Dec 12 12:22:47 2008
New Revision: 163656

URL: http://svn.digium.com/view/asterisk?view=rev&rev=163656
Log:
Merged revisions 163642 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r163642 | russell | 2008-12-12 12:19:47 -0600 (Fri, 12 Dec 2008) | 7 lines

Resolve crashes when using SIP TCP/TLS with qualify.

The problem was a reference count error on the tcptls_session structure.

(closes issue #13989)
Reported by: Nugget

........

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.digium.com/view/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=163656&r1=163655&r2=163656
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Fri Dec 12 12:22:47 2008
@@ -20242,7 +20242,7 @@
 	
 	p->sa = peer->addr;
 	p->recv = peer->addr;
-	p->socket = peer->socket;
+	copy_socket_data(&p->socket, &peer->socket);
 	ast_copy_flags(&p->flags[0], &peer->flags[0], SIP_FLAGS_TO_COPY);
 	ast_copy_flags(&p->flags[1], &peer->flags[1], SIP_PAGE2_FLAGS_TO_COPY);
 




More information about the asterisk-commits mailing list