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 bug in the firewall binary search. #36

Merged
merged 2 commits into from
Sep 2, 2024

Conversation

hlef
Copy link
Collaborator

@hlef hlef commented Sep 1, 2024

The current code breaks when called on an empty table, because it memcmps after bounds.

Fix the issue and add a test.

The current code breaks when called on an empty table, because it
`memcmp`s after bounds.

Fix the issue and add a test.

Signed-off-by: Hugo Lefeuvre <[email protected]>
@hlef hlef requested a review from davidchisnall September 1, 2024 01:33
@davidchisnall davidchisnall merged commit 7c52cb9 into main Sep 2, 2024
1 check failed
@davidchisnall davidchisnall deleted the hlefeuvre/fix-firewall-binary-search branch September 2, 2024 07:56
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.

2 participants