]> 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:04 +0000 (13:00 -0600)
commite5a48b86c9baacc99263ff21d387cc4708d7ea72
tree5c4da4a563aaaf0ad63d92317e5de53f8a89f1ac
parent45f9e40e9caa0c557c3e5bf4efa5f0e3b562e2a0
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