]> 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:16:41 +0000 (13:16 +0100)
commit72b613d828ad73293d2c739cf39b881a10c9e0a4
treee853226520d556b097fedec2e81a29383c88a62a
parentaf67d488d5590c6d0d15687aae140f3c5e781997
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