diff options
author | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-18 15:10:16 +0000 |
---|---|---|
committer | qwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-03-18 15:10:16 +0000 |
commit | a401cd80d9eb8aac3d8b9d674d0539c68ef4f4d8 (patch) | |
tree | bbf64c392898da29efa1cac910828bfd7ccea6a0 /channels | |
parent | 2fbae294015891121b3fef02e73f8356f8629347 (diff) |
Merged revisions 109391 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r109391 | qwell | 2008-03-18 10:08:41 -0500 (Tue, 18 Mar 2008) | 3 lines
Do not return with a successful authentication if the From header ends up empty.
(AST-2008-003)
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@109393 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a9f29721e..0f1edc1db 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9396,8 +9396,6 @@ static enum check_auth_result check_user_full(struct sip_pvt *p, struct sip_requ ast_shrink_phone_number(tmp); ast_string_field_set(p, cid_num, tmp); } - if (ast_strlen_zero(of)) - return AUTH_SUCCESSFUL; if (!authpeer) /* If we are looking for a peer, don't check the user objects (or realtime) */ user = find_user(of, 1); |