]> 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 19:00:25 +0000 (13:00 -0600)
commit34ca632b1a0b3ec086a2a2275e1a64c887af3391
treec7feaec86f23dc72db37e07620914957ec9b0dfd
parentc7d3c071dd97395960cf15f5ed245809db9fee98
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