Fix buffer overflow in zone_equal.
Prefixes are counted in bits, not in bytes. It is safe to compare all 16 bytes, since prefixes are always normalised -- they have zeroes beyond the prefix length, see mask_prefix. Alternatively, we could use prefix_cmp.
Showing
Please register or sign in to comment