diff for duplicates of <20161013080606.GA3389@mwanda> diff --git a/a/1.txt b/N1/1.txt index a398716..d0fcb88 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -11,7 +11,7 @@ index d80cd3f..78cab9c 100644 --- a/net/tipc/udp_media.c +++ b/net/tipc/udp_media.c @@ -407,6 +407,7 @@ static int __tipc_nl_add_udp_addr(struct sk_buff *skb, - if (ntohs(addr->proto) = ETH_P_IP) { + if (ntohs(addr->proto) == ETH_P_IP) { struct sockaddr_in ip4; + memset(&ip4, 0, sizeof(ip4)); @@ -19,7 +19,7 @@ index d80cd3f..78cab9c 100644 ip4.sin_port = addr->port; ip4.sin_addr.s_addr = addr->ipv4.s_addr; @@ -417,6 +418,7 @@ static int __tipc_nl_add_udp_addr(struct sk_buff *skb, - } else if (ntohs(addr->proto) = ETH_P_IPV6) { + } else if (ntohs(addr->proto) == ETH_P_IPV6) { struct sockaddr_in6 ip6; + memset(&ip6, 0, sizeof(ip6)); diff --git a/a/content_digest b/N1/content_digest index a561eff..c809866 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ "From\0Dan Carpenter <dan.carpenter@oracle.com>\0" "Subject\0[patch] tipc: info leak in __tipc_nl_add_udp_addr()\0" - "Date\0Thu, 13 Oct 2016 08:06:06 +0000\0" + "Date\0Thu, 13 Oct 2016 11:06:06 +0300\0" "To\0Jon Maloy <jon.maloy@ericsson.com>" " Richard Alpe <richard.alpe@ericsson.com>\0" "Cc\0Ying Xue <ying.xue@windriver.com>" @@ -24,7 +24,7 @@ "--- a/net/tipc/udp_media.c\n" "+++ b/net/tipc/udp_media.c\n" "@@ -407,6 +407,7 @@ static int __tipc_nl_add_udp_addr(struct sk_buff *skb,\n" - " \tif (ntohs(addr->proto) = ETH_P_IP) {\n" + " \tif (ntohs(addr->proto) == ETH_P_IP) {\n" " \t\tstruct sockaddr_in ip4;\n" " \n" "+\t\tmemset(&ip4, 0, sizeof(ip4));\n" @@ -32,7 +32,7 @@ " \t\tip4.sin_port = addr->port;\n" " \t\tip4.sin_addr.s_addr = addr->ipv4.s_addr;\n" "@@ -417,6 +418,7 @@ static int __tipc_nl_add_udp_addr(struct sk_buff *skb,\n" - " \t} else if (ntohs(addr->proto) = ETH_P_IPV6) {\n" + " \t} else if (ntohs(addr->proto) == ETH_P_IPV6) {\n" " \t\tstruct sockaddr_in6 ip6;\n" " \n" "+\t\tmemset(&ip6, 0, sizeof(ip6));\n" @@ -40,4 +40,4 @@ " \t\tip6.sin6_port = addr->port;\n" " \t\tmemcpy(&ip6.sin6_addr, &addr->ipv6, sizeof(struct in6_addr));" -f05194780db47c5d1074dda58361dc9a10c4b78cc4fc2e1cd69b1795fb9ab983 +f5a7b4592969cd2a0abfc3ddc757d14f6275fe3e8763c47022678262e1b78015
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.