res_pjsip_transport_websocket: Fix crash when the Contact header is not a URI.
authorJoshua Colp <jcolp@digium.com>
Wed, 3 Sep 2014 14:05:58 +0000 (14:05 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 3 Sep 2014 14:05:58 +0000 (14:05 +0000)
commit3cd36d0e10f8ab2eb0c703b28c740b91673ace1b
tree6aff562c7c2fa17a9786bd2a9d0d682c90d50352
parent1b64f353f1cfb98671e95726160987bd69a2f3ae
res_pjsip_transport_websocket: Fix crash when the Contact header is not a URI.

The code for changing the Contact header wrongly assumed that the Contact
would always contain a URI. This is incorrect.

ASTERISK-24271
Reported by: Dafi Ni
........

Merged revisions 422557 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 422558 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@422559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_transport_websocket.c