Skip to content

Conversation

@nielsdos
Copy link
Member

The intermediate computation can cause a signed integer overflow, but the input is correctly rejected later on by the check on variable n. Solve this by using an unsigned number.

@nielsdos nielsdos linked an issue Apr 11, 2025 that may be closed by this pull request
The intermediate computation can cause a signed integer overflow, but
the input is correctly rejected later on by the check on variable `n`.
Solve this by using an unsigned number.
@Girgias
Copy link
Member

Girgias commented Apr 11, 2025

CI failures are legit, seems there is a segfault somewhere?

@devnexen
Copy link
Member

seems i needs to remains signed ?

@nielsdos
Copy link
Member Author

Weird that this didn't happen locally. i must remain signed indeed because there's a backwards loop on i.

@nielsdos nielsdos closed this in 8849a53 Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ipv6 filter integer overflow

3 participants