]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip/pjsip_configuration: Disregard empty auth values 29/1129/1
authorMatt Jordan <mjordan@digium.com>
Sun, 23 Aug 2015 23:26:50 +0000 (18:26 -0500)
committerMatt Jordan <mjordan@digium.com>
Sun, 23 Aug 2015 23:43:55 +0000 (18:43 -0500)
commit3af34441eb1bcf7046403a3dfc9e925db86fd9d9
tree7c930447f100860da13543fd205e7f2f7cd46ea0
parent857923d9c7129ea7f78cc38d450554a7d61a6697
res_pjsip/pjsip_configuration: Disregard empty auth values

When an endpoint is backed by a non-static conf file backend (such as
the AstDB or Realtime), the 'auth' object may be returned as being an
empty string. Currently, res_pjsip will interpret that as being a valid
auth object, and will attempt to authenticate inbound requests. This
isn't desired; is an auth value is empty (which the name of an auth
object cannot be), we should instead interpret that as being an invalid
auth object and skip it.

ASTERISK-25339 #close

Change-Id: Ic32b0c6eb5575107d5164a8c40099e687cd722c7
res/res_pjsip/pjsip_configuration.c