Skip to content

add check for empty cidr#843

Merged
fklassen merged 1 commit intoappneta:Bug_824_PR_843_empty_CIDR_check_stagingfrom
GabrielGanne:empty-cidr-parse-fix
Jun 1, 2024
Merged

add check for empty cidr#843
fklassen merged 1 commit intoappneta:Bug_824_PR_843_empty_CIDR_check_stagingfrom
GabrielGanne:empty-cidr-parse-fix

Conversation

@GabrielGanne
Copy link
Copy Markdown
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 <gabriel.ganne@gmail.com>
@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
@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

No open 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