-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed error with parsing SOA RRs in DNS
The variables i and remaining were being incremented before the rdata was parsed. They were also directly accessed from within the match case for SOA. Fixed packet::tests::parse_failing_packet_* to fail on error now. Signed-off-by: Mohammad Aadil Shabier <aadilshabier1@gmail.com>
- Loading branch information
1 parent
07ae387
commit 9b46bc1
Showing
2 changed files
with
50 additions
and
45 deletions.
There are no files selected for viewing
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
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