]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
avoid iterating from a too short zone cut
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 20 Feb 2018 14:50:48 +0000 (15:50 +0100)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 20 Feb 2018 15:52:50 +0000 (16:52 +0100)
commitf0da0a3579102234f8dd9a384a09110983d84475
treea46be055933511a4ee4dc7f410516ea51e64a8fa
parent7c10e045dbcdbae52066c27fa61818a78abc6222
avoid iterating from a too short zone cut

Example: after foo.sk query the bar.sk query started iterating from
asking the root again for NS sk.  This bug was present on insecure zones,
and before version 2.0.0 only such that have a secure parent.
(These two parts of the bug correspond to the two changes in this commit.)

Fixes https://gitlab.labs.nic.cz/knot/knot-resolver/issues/246
NEWS
lib/layer/validate.c
lib/zonecut.c