[asterisk-commits] qwell: branch 1.6.0 r109395 - in /branches/1.6.0: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 18 10:11:26 CDT 2008


Author: qwell
Date: Tue Mar 18 10:11:25 2008
New Revision: 109395

URL: http://svn.digium.com/view/asterisk?view=rev&rev=109395
Log:
Merged revisions 109389 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r109389 | qwell | 2008-03-18 10:07:04 -0500 (Tue, 18 Mar 2008) | 3 lines

Do not return with a successful authentication if the From header ends up empty.
(AST-2008-003)

........

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/channels/chan_sip.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=109395&r1=109394&r2=109395
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Tue Mar 18 10:11:25 2008
@@ -11468,8 +11468,6 @@
 			ast_shrink_phone_number(tmp);
 		ast_string_field_set(p, cid_num, tmp);
 	}
-	if (ast_strlen_zero(of))
-		return AUTH_SUCCESSFUL;
 
 	if (global_match_auth_username) {
 		/*




More information about the asterisk-commits mailing list