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

add check for empty cidr #843

Conversation

GabrielGanne
Copy link
Contributor

This causes tcprewrite to exit with an error instead of crashing.

Fixes: #824

This causes tcprewrite to exit with an error instead of crashing.

Fixes: appneta#824
Signed-off-by: Gabriel Ganne <[email protected]>
@fklassen fklassen changed the base branch from master to Bug_824_PR_843_empty_CIDR_check_staging June 1, 2024 19:04
@fklassen fklassen merged commit 963842c into appneta:Bug_824_PR_843_empty_CIDR_check_staging Jun 1, 2024
3 checks passed
@GabrielGanne GabrielGanne deleted the empty-cidr-parse-fix branch June 1, 2024 19:19
fklassen added a commit that referenced this pull request Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Bug] NULL Pointer Dereference in mask_cidr6 at cidr.c:228
2 participants