Closed AyyLam closed 1 year ago
This PR adds more clarity to the error message for when the domain name length is 0 and when integer overflow happens.
Also helps distinguish it from another conditional currently with the same error message: https://github.com/DataDog/agent-payload/blob/280a475c6e833b7537e477025c60ef01044756f6/process/dns_v2.go#L326-L327
Reviewers: please see the review guidelines
What does this PR do?
This PR adds more clarity to the error message for when the domain name length is 0 and when integer overflow happens.
Also helps distinguish it from another conditional currently with the same error message: https://github.com/DataDog/agent-payload/blob/280a475c6e833b7537e477025c60ef01044756f6/process/dns_v2.go#L326-L327
Reviewer's Checklist
Reviewers: please see the review guidelines