Skip to content

lib/fib: fib_free() must be okay with uninitialized FIBs#649

Merged
AltraMayor merged 1 commit intov1.2.0-devfrom
ipvx-only
Jul 11, 2023
Merged

lib/fib: fib_free() must be okay with uninitialized FIBs#649
AltraMayor merged 1 commit intov1.2.0-devfrom
ipvx-only

Conversation

@AltraMayor
Copy link
Owner

When a Gatekeeper server is set to work with either IPv4 or IPv6 only, fib_free() is called on an uninitialized FIB. This pull request avoids a segmentation fault by following the example of free(3) that ignores NULL.

When a Gatekeeper server is set to work with either IPv4 or
IPv6 only, fib_free() is called on an uninitialized FIB.
This patch avoids a segmentation fault by following the example of
free(3) that ignores NULL.
@AltraMayor AltraMayor added the Operational demand This issue would make Gatekeeper safer and/or cheaper to operate label Jul 11, 2023
@AltraMayor AltraMayor added this to the Version 1.2 milestone Jul 11, 2023
@AltraMayor AltraMayor merged commit 4f86bdc into v1.2.0-dev Jul 11, 2023
@AltraMayor AltraMayor deleted the ipvx-only branch July 11, 2023 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Operational demand This issue would make Gatekeeper safer and/or cheaper to operate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant