linux/net/netfilter/ipvs
Patrick McHardy 3d91c1a848 IPVS: fix potential stack overflow with overly long protocol names
When protocols use very long names, the sprintf calls might overflow
the on-stack buffer. No protocol in the kernel does this however.

Print the protocol name in the pr_debug statement directly to avoid
this.

Based on patch by Zhitong Wang <zhitong.wangzt@alibaba-inc.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Patrick McHardy <kaber@trash.net>
2010-04-08 13:35:47 +02:00
..
ip_vs_app.c
ip_vs_conn.c IPVS: Allow boot time change of hash size 2010-01-05 05:50:24 +01:00
ip_vs_core.c ipv6: drop unused "dev" arg of icmpv6_send() 2010-02-18 14:30:17 -08:00
ip_vs_ctl.c ipvs: SCTP Trasport Loadbalancing Support 2010-02-18 12:31:05 +01:00
ip_vs_dh.c
ip_vs_est.c
ip_vs_ftp.c netfilter: net/netfilter/ipvs/ip_vs_ftp.c: Remove use of NIPQUAD 2010-03-15 18:03:05 +01:00
ip_vs_lblc.c sysctl net: Remove unused binary sysctl code 2009-11-12 02:05:06 -08:00
ip_vs_lblcr.c IPVS: ip_vs_lblcr: use list headA 2010-02-26 17:45:14 +01:00
ip_vs_lc.c
ip_vs_nq.c
ip_vs_proto_ah_esp.c IPVS: fix potential stack overflow with overly long protocol names 2010-04-08 13:35:47 +02:00
ip_vs_proto_sctp.c ipvs: SCTP Trasport Loadbalancing Support 2010-02-18 12:31:05 +01:00
ip_vs_proto_tcp.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
ip_vs_proto_udp.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
ip_vs_proto.c IPVS: fix potential stack overflow with overly long protocol names 2010-04-08 13:35:47 +02:00
ip_vs_rr.c
ip_vs_sched.c
ip_vs_sed.c
ip_vs_sh.c
ip_vs_sync.c ipvs: SCTP Trasport Loadbalancing Support 2010-02-18 12:31:05 +01:00
ip_vs_wlc.c
ip_vs_wrr.c ipvs: ip_vs_wrr.c: use lib/gcd.c 2009-12-22 09:42:06 +01:00
ip_vs_xmit.c netfilter: ipvs: use NFPROTO values for NF_HOOK invocation 2010-03-25 16:03:07 +01:00
Kconfig ipvs: SCTP Trasport Loadbalancing Support 2010-02-18 12:31:05 +01:00
Makefile ipvs: SCTP Trasport Loadbalancing Support 2010-02-18 12:31:05 +01:00