summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorKevin Harwell <kharwell@digium.com>2017-12-20 16:17:40 -0600
committerKevin Harwell <kharwell@digium.com>2017-12-22 15:34:39 -0600
commit553306548ca4b1733b4555575775b91d55db1a99 (patch)
tree323392957aa213e4078f58d980ddac78888aae5a /main
parentfd0ca1c3f9b972a52d48a82b492fd6bac772dc78 (diff)
AST-2017-014: res_pjsip - Missing contact header can cause crash
Those SIP messages that create dialogs require a contact header to be present. If the contact header was missing from the message it could cause Asterisk to crash. This patch checks to make sure SIP messages that create a dialog contain the contact header. If the message does not and it is required Asterisk now returns a "400 Missing Contact header" response. Also added NULL checks when retrieving the contact header that were missing as a "just in case". ASTERISK-27480 #close Change-Id: I1810db87683fc637a9e3e1384a746037fec20afe
Diffstat (limited to 'main')
0 files changed, 0 insertions, 0 deletions