summaryrefslogtreecommitdiff
path: root/rest-api-templates
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:38:56 -0600
commit53799318bc040a2082904df86d42ab08790b47ec (patch)
treedc70a7d09fe65fecd32d5d0e31ce7b723ef4babd /rest-api-templates
parentce3d56920b15facbb64b3caf0d823a3f57c0dded (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 'rest-api-templates')
0 files changed, 0 insertions, 0 deletions