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 08:45:37 -0600 |
commit | 6b4b87787c0735bfe63445d625e2e8749a7caecb (patch) | |
tree | 9aa00a29a926497a76126752c7dcc7df48a4dfe7 /tests/test_amihooks.c | |
parent | f5603cb1ece5001d1288004c9bc6ed51448deb81 (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 'tests/test_amihooks.c')
0 files changed, 0 insertions, 0 deletions