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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
44b93b6859
commit
4295303c56
|
@ -21115,7 +21115,7 @@ static int sip_poke_peer(struct sip_peer *peer, int force)
|
|||
|
||||
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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue