]> 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:49:15 +0000 (11:49 -0700)
commit9196e0d1d5fd1f5e508bc4de90ac27d55b1b336a
tree3e1ded7af070d88d3f96b4ed3b4c719be5961f6f
parent0a23296834c6f238bf1a3baa1a39606528b35ac2
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