Skip to content
Snippets Groups Projects
Commit bd2a198d authored by Jan Kadlec's avatar Jan Kadlec
Browse files

rrset wire: Simpler DNAME decompression + maximum RDLENGTH check.

- DNAMEs are now always decompressed and then there's a check if
  compressed and decompressed sizes match, in case they shouldn't have
been decompressed in the first place.

- It is possible to create an RR with compressed DNAME in it, that would
  be actually bigger than 2**16 - 1. I've added a check for that.

- Tests for both mentioned cases pending.
parent 01067091
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment