Commit 3e86d316 authored by Simon Kelley's avatar Simon Kelley

Nasty, rare and obscure off-by-one in DNSSEC hostname_cmp().

parent d67ecac5
......@@ -1394,8 +1394,8 @@ static int hostname_cmp(const char *a, const char *b)
if (sb == b)
return 1;
ea = sa--;
eb = sb--;
ea = --sa;
eb = --sb;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment