]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip/config_transport: Prevent async_operations > 1 when protocol = tls 86/1786/2
authorGeorge Joseph <george.joseph@fairview5.com>
Tue, 8 Dec 2015 17:03:53 +0000 (10:03 -0700)
committerGeorge Joseph <george.joseph@fairview5.com>
Tue, 8 Dec 2015 18:15:30 +0000 (12:15 -0600)
commit28ab03fbf74d52ccf2d31f2f8f06ad0127924ce6
treeeaa2b1d8580d70d73c1bdd870bce87aa8789e711
parent55dd7125b386aa3648fc5bb96998b6a1d275f49d
res_pjsip/config_transport: Prevent async_operations > 1 when protocol = tls

See ASTERISK-25615.
If the transport protocol is tls and async_operations > 1, pjproject
will segfault if more than one operation is attempted on the same socket.
Until this is fixed upstream, a check has been added to throw an error
if a tls transport config has async_operations set to > 1.

ASTERISK-25615

Change-Id: I76b9a5b2a5a0054fe71ca5851e635f2dca7685a6
Reported-by: George Joseph
Tested-by: George Joseph
res/res_pjsip/config_transport.c