[svn-commits] jamesgolovich: branch group/sip-tcptls r90793 - /team/group/sip-tcptls/channels/
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Dec 3 18:04:06 CST 2007
Author: jamesgolovich
Date: Mon Dec 3 18:04:05 2007
New Revision: 90793
URL: http://svn.digium.com/view/asterisk?view=rev&rev=90793
Log:
Fix issue with segfault when we use transmit_response_using_temp
Modified:
team/group/sip-tcptls/channels/chan_sip.c
Modified: team/group/sip-tcptls/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/group/sip-tcptls/channels/chan_sip.c?view=diff&rev=90793&r1=90792&r2=90793
==============================================================================
--- team/group/sip-tcptls/channels/chan_sip.c (original)
+++ team/group/sip-tcptls/channels/chan_sip.c Mon Dec 3 18:04:05 2007
@@ -6977,6 +6977,12 @@
ast_string_field_set(p, fromdomain, default_fromdomain);
build_via(p);
ast_string_field_set(p, callid, callid);
+
+ p->socket.lock = req->socket.lock;
+ p->socket.type = req->socket.type;
+ p->socket.fd = req->socket.fd;
+ p->socket.port = req->socket.port;
+ p->socket.ser = req->socket.ser;
/* Use this temporary pvt structure to send the message */
__transmit_response(p, msg, req, XMIT_UNRELIABLE);
More information about the svn-commits
mailing list