]> git.ipfire.org Git - thirdparty/asterisk.git/commit
stir_shaken: Fix memory leak, typo in config, tn canonicalization
authorGeorge Joseph <gjoseph@sangoma.com>
Thu, 25 Apr 2024 17:56:15 +0000 (11:56 -0600)
committerAsterisk Development Team <asteriskteam@digium.com>
Thu, 9 May 2024 13:48:09 +0000 (13:48 +0000)
commit18c0cafa10e77e776483801edfa45e30a34e6ec5
tree46222e91aa4ad09b979094079aefc79697d2fd4a
parent8077e38a85e4d44a3b0abbfdb772d6b4cca1cda8
stir_shaken:  Fix memory leak, typo in config, tn canonicalization

* Fixed possible memory leak in tn_config:tn_get_etn() where we
weren't releasing etn if tn or eprofile were null.
* We now canonicalize TNs before using them for lookups or adding
them to Identity headers.
* Fixed a typo in stir_shaken.conf.sample.

Resolves: #716
(cherry picked from commit b7ed77a7c5e2db6883e16d14a01d886dda1a0d8f)
configs/samples/stir_shaken.conf.sample
res/res_pjsip_stir_shaken.c
res/res_stir_shaken/attestation.c
res/res_stir_shaken/common_config.c
res/res_stir_shaken/common_config.h
res/res_stir_shaken/tn_config.c
res/res_stir_shaken/verification.c