Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
DOH: improve encoding/decoding and update related unit test #4598
DOH: improve encoding/decoding and update related unit test
A number of bugs in functions doh_encode() and doh_decode() (see below) are addressed.
Bugs in function doh_encode():
Bug in function doh_decode():
increased strictness of QNAME-encoding, adding error detection for empty labels and names longer than the overall limit; avoided treating DNAME as unexpected;