]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip/config_transport: Prevent async_operations > 1 when protocol = tls 85/1785/3
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:12:03 +0000 (11:12 -0700)
commite03582a1c293c0ed7e37896758be613e3e281bfd
tree6ee63c0938797d70bad4626bed5ebcdaf41bf8a7
parent876600ce6e1b165dd068f30c763e5c517c3b6ae8
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