[svn-commits] file: branch 12 r405034 - /branches/12/res/res_pjsip_acl.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Jan 7 13:55:09 CST 2014


Author: file
Date: Tue Jan  7 13:55:05 2014
New Revision: 405034

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=405034
Log:
res_pjsip_acl: Fix another case of assuming a contact will always contain a URI.

Modified:
    branches/12/res/res_pjsip_acl.c

Modified: branches/12/res/res_pjsip_acl.c
URL: http://svnview.digium.com/svn/asterisk/branches/12/res/res_pjsip_acl.c?view=diff&rev=405034&r1=405033&r2=405034
==============================================================================
--- branches/12/res/res_pjsip_acl.c (original)
+++ branches/12/res/res_pjsip_acl.c Tue Jan  7 13:55:05 2014
@@ -138,7 +138,7 @@
 	pjsip_sip_uri *sip_uri;
 	char host[256];
 
-	if (!contact) {
+	if (!contact || contact->star) {
 		return 0;
 	}
 	if (!PJSIP_URI_SCHEME_IS_SIP(contact->uri) && !PJSIP_URI_SCHEME_IS_SIPS(contact->uri)) {




More information about the svn-commits mailing list