search for: outiface_mask

Displaying 1 result from an estimated 1 matches for "outiface_mask".

2003 Dec 26
2
[Bug 84] Unaligned access in ip_tables.c:ip_packet_match
...@@ -164,11 +172,11 @@ ip_packet_match(const struct iphdr *ip, return 0; } - for (i = 0, ret = 0; i < IFNAMSIZ/sizeof(unsigned long); i++) { - ret |= (((const unsigned long *)outdev)[i] - ^ ((const unsigned long *)ipinfo->outiface)[i]) - & ((const unsigned long *)ipinfo->outiface_mask)[i]; - } + for (i = 0, ret = 0; i < IFNAMSIZ; i++) { + ret |= (outdev[i] + ^ ipinfo->outiface[i]) + & ipinfo->outiface_mask[i]; + } if (FWINV(ret != 0, IPT_INV_VIA_OUT)) { dprintf("VIA out mismatch (%s vs %s).%s\n", ------- You are receiving this mail because:...