• Juliusz Chroboczek's avatar
    Fix buffer overflow in zone_equal. · 36f056a0
    Juliusz Chroboczek authored
    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.
    36f056a0
disambiguation.c 14.1 KB