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

Fix handling of empty iptables/ipset/nftables names #2448

Merged
merged 5 commits into from
Jul 12, 2024

Conversation

pqarmitage
Copy link
Collaborator

No description provided.

If sizeof(int) < sizeof(void *) returning the difference between two
addresses in an int can cause an overflow.

Use less_equal_greater_than() for comparing addresses.

Signed-off-by: Quentin Armitage <[email protected]>
We now handle empty ipset names and return a config error.

Signed-off-by: Quentin Armitage <[email protected]>
We now return an error if a chain name is empty.

Signed-off-by: Quentin Armitage <[email protected]>
We now return an error if a chain name is empty.

Signed-off-by: Quentin Armitage <[email protected]>
@pqarmitage pqarmitage merged commit 7d96312 into acassen:master Jul 12, 2024
10 checks passed
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