]> granicus.if.org Git - pdns/commit
DNSName: Check that both first two bits are set in compressed labels
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 4 Jan 2017 10:48:47 +0000 (11:48 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 10 Jan 2017 12:17:23 +0000 (13:17 +0100)
commitc95d14b34c7dbbdd311aa302921fa7e0d359500f
tree917f35280c135a326d29bb88e45592a8b31a7b0d
parent9cb973c7013d61b1f063189de7d7535affd0da2a
DNSName: Check that both first two bits are set in compressed labels

We checked that at least one of the first two bits was set,
but the 10 and 01 are combinations do not indicate a compressed label
and are reserved for future use.

(cherry picked from commit 99bbbc7bdf675509caf61f41464a1ae62c09f342)
pdns/dnsname.cc
pdns/test-dnsname_cc.cc