]> 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-org-access-app[bot] <120671045+asterisk-org-access-app[bot]@users.noreply.github.com>
Mon, 29 Apr 2024 13:02:11 +0000 (13:02 +0000)
commit758ed2b9fd259054bc7f7b8b08a2fc2f98268a20
tree9101328b750ad647e217f8f56bf06f949505f07b
parenta07a16aa231d7185559003421f8efb5a4fe91533
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