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

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


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: fe3ae050dfc0b3de419b6eacb62dc5c26d594022
      https://github.com/OpenSIPS/opensips/commit/fe3ae050dfc0b3de419b6eacb62dc5c26d594022
  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

(cherry picked from commit 3c05ae78e4b2da392f8ab6b5233f54f760284b3b)





More information about the Devel mailing list