mirror of
http://thekelleys.org.uk/git/dnsmasq.git
synced 2026-10-24 12:04:38 +00:00
Nasty, rare and obscure off-by-one in DNSSEC hostname_cmp().
This commit is contained in:
1 parent
d67ecac59d
commit
3e86d316c4
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user