[asterisk-dev] Possible asterisk segfault (all versions)

Walter Doekes walter+asterisk-dev at osso.nl
Wed Dec 14 07:35:20 CST 2011

On 14/12/11 14:00, Steve Davies wrote:
> I am not using v1.8 or v10 yet, but I checked the source, and this
> applies to all versions from 1.6 upwards that I looked at.

>          if (s->tcptls_session) {
>                  ast_tcptls_close_session_file(tcptls_session);

> In both cases above, the references to "tcptls_session" should be
> referring to "s->tcptls_session". "tcptls_session" is not usefully
> defined in this scope.

You're absolutely right. Can't believe we missed that when touching that 
code a couple of weeks ago (r346564).

Thanks for pointing it out,

More information about the asterisk-dev mailing list