dns_erlang
dns_erlang copied to clipboard
Catch messages with missing additional sections
I noticed that a query whose additional section count is non-zero in the header, but with that section completely missing, was not rejected as being truncated. This PR fixes this issue.
I’ve added a unit test to that effect.