asterisk / asterisk

The official Asterisk Project repository.

Home Page:https://www.asterisk.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[bug]: Memory leak in res_stir_shaken tn_config, plus a few other issues

gtjoseph opened this issue · comments

Severity

Major

Versions

18,20,21,master

Components/Modules

res_stir_shaken

Operating Environment

all

Frequency of Occurrence

Occasional

Issue Description

  • The tn_get_etn() function isn't releasing the etn if tn or eprofile were null.
  • We're not canonicalizing TNs before using them to match configured TN objects or before adding them to Identity headers.
  • There's a typo in stir_shaken.conf.sample, line 416. "endpoint_behhavior" should be "endpoint_behavior".

Relevant log output

No response

Asterisk Issue Guidelines

  • Yes, I have read the Asterisk Issue Guidelines