]> 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)
committerGeorge Joseph <gjoseph@sangoma.com>
Tue, 14 May 2024 14:09:05 +0000 (08:09 -0600)
commit200da5212894b94711060a035a1b207f173a4ced
treeaab3919a28607a8eace54e1ea29b544db8b0887e
parent7210a038161e2f6f544b1c5b83cc52000b65465d
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
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