[OpenSIPS-Devel] [OpenSIPS/opensips] 3c05ae: tls_mgm: fix crash when the client_sip_domain_avp ...

Vlad Pătrașcu noreply at github.com
Fri Sep 30 12:44:00 UTC 2022


  Branch: refs/heads/3.3
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 3c05ae78e4b2da392f8ab6b5233f54f760284b3b
      https://github.com/OpenSIPS/opensips/commit/3c05ae78e4b2da392f8ab6b5233f54f760284b3b
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2022-09-30 (Fri, 30 Sep 2022)

  Changed paths:
    M modules/tls_mgm/tls_domain.c

  Log Message:
  -----------
  tls_mgm: fix crash when the client_sip_domain_avp AVP is not set

This is a regression introduced by commit e94ca5f that would lead to
a crash when the client_sip_domain_avp modparam is set but the actual
AVP is not set before a TLS connect.

Credits to @ovidiusas for reporting and suggesting the fix.

Closes #2909





More information about the Devel mailing list