]> granicus.if.org Git - pdns/commit
SuffixMatchTree: Fix partial match of non-leaf nodes
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Jun 2019 10:21:00 +0000 (12:21 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 7 Jun 2019 10:24:12 +0000 (12:24 +0200)
commit99517c1b39226e50e1eb1a5a6509844fb57e9e68
tree80b0142030cb88139172a16612d7851fa2f20d9f
parentdbeebfee558896219c1a44974a66548190b7d4ee
SuffixMatchTree: Fix partial match of non-leaf nodes

If we insert fr and www.domain.fr, domain.fr should not match
www.domain.fr, the leaf node, and it should not match the
intermediary domain.fr node, but it should match the fr
end-node.
pdns/dnsname.hh
pdns/test-dnsname_cc.cc