lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 3 Apr 2014 10:37:03 +0900
From:	Simon Horman <horms@...ge.net.au>
To:	Masanari Iida <standby24x7@...il.com>
Cc:	netdev@...r.kernel.org, wensong@...ux-vs.org, ja@....bg
Subject: Re: [PATCH 1/5] netfilter: Fix format string mismatch in
 ip_vs_proto_name()

On Tue, Apr 01, 2014 at 12:40:15AM +0900, Masanari Iida wrote:
> Fix string mismatch in ip_vs_proto_name()
> 
> Signed-off-by: Masanari Iida <standby24x7@...il.com>
> ---
>  net/netfilter/ipvs/ip_vs_core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/netfilter/ipvs/ip_vs_core.c b/net/netfilter/ipvs/ip_vs_core.c
> index 4f26ee4..d9da8c4 100644
> --- a/net/netfilter/ipvs/ip_vs_core.c
> +++ b/net/netfilter/ipvs/ip_vs_core.c
> @@ -97,7 +97,7 @@ const char *ip_vs_proto_name(unsigned int proto)
>  		return "ICMPv6";
>  #endif
>  	default:
> -		sprintf(buf, "IP_%d", proto);
> +		sprintf(buf, "IP_%u", proto);
>  		return buf;
>  	}
>  }

Thanks, I have queued this up.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ