]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_pjsip_diversion: prevent crash on tel: uri in History-Info
authorTorrey Searle <tsearle@voxbone.com>
Tue, 22 Dec 2020 08:58:39 +0000 (09:58 +0100)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 22 Dec 2020 18:59:48 +0000 (12:59 -0600)
commita7aea71e60d513af82c6e3825e2308e063139b63
tree8440592d477513d504ce0690fafa972b822d82bc
parent13682210e2ff7d78d172577e923628626bf24599
res/res_pjsip_diversion: prevent crash on tel: uri in History-Info

Add a check to see if the URI is a Tel URI and prevent crashing on
trying to retrieve the reason parameter.

ASTERISK-29191
ASTERISK-29219

Change-Id: I0320aa205f22cda511d60a2edf2b037e8fd6cc37
res/res_pjsip_diversion.c