dns_erlang icon indicating copy to clipboard operation
dns_erlang copied to clipboard

Catch messages with missing additional sections

Open marc-vanderwal opened this issue 1 year ago • 0 comments

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.

marc-vanderwal avatar Dec 05 '22 12:12 marc-vanderwal