]> git.ipfire.org Git - thirdparty/asterisk.git/commit
tcptls: NULL-check the parameter of ast_ssl_teardown before accessing it.
authorAlexander Traud <pabstraud@compuserve.com>
Fri, 13 Oct 2017 13:12:07 +0000 (15:12 +0200)
committerAlexander Traud <pabstraud@compuserve.com>
Fri, 13 Oct 2017 13:14:47 +0000 (08:14 -0500)
commit114ed320eae5f5fa111adc4ecd5ccd8f1b3537d0
tree0487ac7ff6188ddb624f45e9d2066a906ec49b08
parent7215d07ca2fd268ef7aba942a4a2ea516420cb2f
tcptls: NULL-check the parameter of ast_ssl_teardown before accessing it.

This avoids a crash on stopping a chan_sip which failed to start its TLS server.

ASTERISK-27339 #close

Change-Id: I327fc70db68eaaca5b50a15c7fd687fde79263d5
main/tcptls.c