-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed len computation when size just goes beyond 14 bits (#668)
* Fixed len computation when size just goes beyond 14 bits * Added bouds checks around 14bits * Len() always right including when around 14bits boudaries * Avoid splitting into labels when not applicable * Fixed comments * Added comments in code * Added new test cases * Fixed computation of Len() for SRV and all kind of records * Fixed Sign that was relying on non-copy for Unit tests * Removed unused padding * Fixed typo in PackBuffer() function * Added comment about packBufferWithCompressionMap() for testing purposes
- Loading branch information
1 parent
621df09
commit 0964911
Showing
4 changed files
with
394 additions
and
118 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.