patch-2.4.5 linux/net/ipv4/netfilter/ip_tables.c
Next file: linux/net/ipv4/proc.c
Previous file: linux/net/ipv4/netfilter/ip_nat_core.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Tue May 15 01:29:35 2001
- Orig file:
v2.4.4/linux/net/ipv4/netfilter/ip_tables.c
- Orig date:
Mon Dec 4 18:43:02 2000
diff -u --recursive --new-file v2.4.4/linux/net/ipv4/netfilter/ip_tables.c linux/net/ipv4/netfilter/ip_tables.c
@@ -1243,6 +1243,7 @@
ret = -EFAULT;
break;
}
+ name[IPT_TABLE_MAXNAMELEN-1] = '\0';
t = find_table_lock(name, &ret, &ipt_mutex);
if (t) {
struct ipt_getinfo info;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)