1
linux/net/ipv4/netfilter
David S. Miller 49688c8431 [NETFILTER] arp_tables: Fix unaligned accesses.
There are two device string comparison loops in arp_packet_match().
The first one goes byte-by-byte but the second one tries to be
clever and cast the string to a long and compare by longs.

The device name strings in the arp table entries are not guarenteed
to be aligned enough to make this value, so just use byte-by-byte
for both cases.

Based upon a report by <drraid@gmail.com>.

Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-13 16:37:54 -07:00
..
arp_tables.c [NETFILTER] arp_tables: Fix unaligned accesses. 2007-04-13 16:37:54 -07:00
arpt_mangle.c
arptable_filter.c
ip_conntrack_amanda.c
ip_conntrack_core.c [NETFILTER]: conntrack: fix {nf,ip}_ct_iterate_cleanup endless loops 2007-03-05 13:25:18 -08:00
ip_conntrack_ftp.c
ip_conntrack_helper_h323.c
ip_conntrack_helper_pptp.c
ip_conntrack_irc.c
ip_conntrack_netbios_ns.c
ip_conntrack_netlink.c
ip_conntrack_proto_generic.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ip_conntrack_proto_gre.c
ip_conntrack_proto_icmp.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ip_conntrack_proto_sctp.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
ip_conntrack_proto_tcp.c [NETFILTER]: tcp conntrack: accept SYN|URG as valid 2007-03-05 13:25:20 -08:00
ip_conntrack_proto_udp.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
ip_conntrack_sip.c
ip_conntrack_standalone.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
ip_conntrack_tftp.c
ip_nat_amanda.c
ip_nat_core.c [NETFILTER]: ip_conntrack: properly use RCU for ip_conntrack_destroyed callback 2007-02-12 11:13:58 -08:00
ip_nat_ftp.c
ip_nat_helper_h323.c
ip_nat_helper_pptp.c
ip_nat_helper.c
ip_nat_irc.c
ip_nat_proto_gre.c
ip_nat_proto_icmp.c
ip_nat_proto_tcp.c
ip_nat_proto_udp.c
ip_nat_proto_unknown.c
ip_nat_rule.c
ip_nat_sip.c
ip_nat_snmp_basic.c
ip_nat_standalone.c [NETFILTER]: nat: avoid rerouting packets if only XFRM policy key changed 2007-03-22 12:30:29 -07:00
ip_nat_tftp.c
ip_queue.c [PATCH] sysctl: remove insert_at_head from register_sysctl 2007-02-14 08:09:59 -08:00
ip_tables.c
ipt_addrtype.c
ipt_ah.c
ipt_CLUSTERIP.c [NETFILTER]: ipt_CLUSTERIP: fix oops in checkentry function 2007-04-10 13:26:48 -07:00
ipt_ecn.c
ipt_ECN.c
ipt_iprange.c
ipt_LOG.c [NETFILTER]: nf_log: minor cleanups 2007-02-12 11:11:55 -08:00
ipt_MASQUERADE.c
ipt_NETMAP.c
ipt_owner.c
ipt_recent.c
ipt_REDIRECT.c
ipt_REJECT.c [NETFILTER]: Clear GSO bits for TCP reset packet 2007-02-13 12:32:58 -08:00
ipt_SAME.c
ipt_tos.c
ipt_TOS.c
ipt_ttl.c
ipt_TTL.c
ipt_ULOG.c [NETFILTER]: ipt_ULOG: use put_unaligned 2007-04-12 14:27:03 -07:00
iptable_filter.c
iptable_mangle.c
iptable_raw.c
Kconfig [NETFILTER]: Kconfig: improve dependency handling 2007-02-12 11:15:02 -08:00
Makefile
nf_conntrack_l3proto_ipv4_compat.c
nf_conntrack_l3proto_ipv4.c [NETFILTER]: nf_conntrack/nf_nat: fix incorrect config ifdefs 2007-03-05 13:25:19 -08:00
nf_conntrack_proto_icmp.c [NETFILTER]: nf_conntrack/nf_nat: fix incorrect config ifdefs 2007-03-05 13:25:19 -08:00
nf_nat_amanda.c
nf_nat_core.c [NETFILTER]: nf_conntrack/nf_nat: fix incorrect config ifdefs 2007-03-05 13:25:19 -08:00
nf_nat_ftp.c
nf_nat_h323.c
nf_nat_helper.c
nf_nat_irc.c
nf_nat_pptp.c
nf_nat_proto_gre.c [NETFILTER]: nf_conntrack/nf_nat: fix incorrect config ifdefs 2007-03-05 13:25:19 -08:00
nf_nat_proto_icmp.c [NETFILTER]: nf_conntrack/nf_nat: fix incorrect config ifdefs 2007-03-05 13:25:19 -08:00
nf_nat_proto_tcp.c [NETFILTER]: nf_conntrack/nf_nat: fix incorrect config ifdefs 2007-03-05 13:25:19 -08:00
nf_nat_proto_udp.c [NETFILTER]: nf_conntrack/nf_nat: fix incorrect config ifdefs 2007-03-05 13:25:19 -08:00
nf_nat_proto_unknown.c
nf_nat_rule.c
nf_nat_sip.c
nf_nat_snmp_basic.c
nf_nat_standalone.c [NETFILTER]: nat: avoid rerouting packets if only XFRM policy key changed 2007-03-22 12:30:29 -07:00
nf_nat_tftp.c