diff options
author | Sean Bright <sean.bright@gmail.com> | 2017-03-21 09:26:28 -0400 |
---|---|---|
committer | Sean Bright <sean.bright@gmail.com> | 2017-03-21 10:44:30 -0400 |
commit | b3cc20799bcdd2114026ec943e6879434116406b (patch) | |
tree | 01420a7ba196622d9247762cd8e93373b4f6cdd4 /main/framehook.c | |
parent | fdea3698527495c940e03a45df03621c7a9a876c (diff) |
res_pjsip_messaging: Check URI type before dereferencing
We aren't validating that the URI we just parsed is a SIP/SIPS one before
trying to access the user, host, and port members of a possibly uninitialized
structure.
Also update the MessageSend documentation to indicate what 'from' formats are
accepted.
ASTERISK-26484 #close
Reported by: Vinod Dharashive
Change-Id: I476b5cc5f18a7713d0ee945374f2a1c164857d30
Diffstat (limited to 'main/framehook.c')
0 files changed, 0 insertions, 0 deletions