[asterisk-commits] bebuild: tag 13.0.1 r428429 - in /tags/13.0.1: ./ ChangeLog main/acl.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 20 10:42:29 CST 2014


Author: bebuild
Date: Thu Nov 20 10:42:26 2014
New Revision: 428429

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=428429
Log:
Merge 428425 for AST-2014-012

Modified:
    tags/13.0.1/   (props changed)
    tags/13.0.1/ChangeLog
    tags/13.0.1/main/acl.c

Propchange: tags/13.0.1/
------------------------------------------------------------------------------
    svn:mergeinfo = /branches/13:428425

Modified: tags/13.0.1/ChangeLog
URL: http://svnview.digium.com/svn/asterisk/tags/13.0.1/ChangeLog?view=diff&rev=428429&r1=428428&r2=428429
==============================================================================
--- tags/13.0.1/ChangeLog (original)
+++ tags/13.0.1/ChangeLog Thu Nov 20 10:42:26 2014
@@ -1,3 +1,16 @@
+2014-11-20  Asterisk Development Team <asteriskteam at digium.com>
+
+	* Asterisk 13.0.1 Released.
+
+	* AST-2014-012: Fix error with mixed address family ACLs.
+
+	  Prior to this commit, the address family of the first item in an ACL
+	  was used to compare all incoming traffic. This could lead to traffic
+	  of other IP address families bypassing ACLs.
+
+	  ASTERISK-24469 #close
+	  Reported by Matt Jordan
+
 2014-10-24  Asterisk Development Team <asteriskteam at digium.com>
 
 	* Asterisk 13.0.0 Released.

Modified: tags/13.0.1/main/acl.c
URL: http://svnview.digium.com/svn/asterisk/tags/13.0.1/main/acl.c?view=diff&rev=428429&r1=428428&r2=428429
==============================================================================
--- tags/13.0.1/main/acl.c (original)
+++ tags/13.0.1/main/acl.c Thu Nov 20 10:42:26 2014
@@ -743,7 +743,7 @@
 		ast_copy_string(iabuf2, ast_inet_ntoa(ha->netaddr), sizeof(iabuf2));
 		ast_debug(1, "##### Testing %s with %s\n", iabuf, iabuf2);
 #endif
-		if (ast_sockaddr_is_ipv4(&ha->addr)) {
+		if (ast_sockaddr_is_ipv4(&current_ha->addr)) {
 			if (ast_sockaddr_is_ipv6(addr)) {
 				if (ast_sockaddr_is_ipv4_mapped(addr)) {
 					/* IPv4 ACLs apply to IPv4-mapped addresses */




More information about the asterisk-commits mailing list