Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns/rr: fix dns_rr_print underflow #1162

Merged
merged 1 commit into from
Jul 23, 2024
Merged

dns/rr: fix dns_rr_print underflow #1162

merged 1 commit into from
Jul 23, 2024

Conversation

sreimers
Copy link
Member

found by coverity:

CID 400048: (#1 of 1): Overflowed constant (INTEGER_OVERFLOW)
6. overflow_const: Expression n--, which is equal to 18446744073709551615, where n is known to be equal to 0, underflows the type that receives it, an unsigned integer 64 bits wide.

@sreimers sreimers marked this pull request as ready for review July 23, 2024 07:31
@sreimers sreimers merged commit d63bb23 into main Jul 23, 2024
36 checks passed
@sreimers sreimers deleted the dns_rr_underflow branch July 23, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant