]> git.proxmox.com Git - mirror_frr.git/commit
lib: Fix possible usage of uninited data
authorDonald Sharp <sharpd@nvidia.com>
Thu, 17 Feb 2022 19:07:57 +0000 (14:07 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 22 Feb 2022 16:02:15 +0000 (11:02 -0500)
commit4d7aae38ab5f88421dea48a6f6541f86ce4cd954
tree2bad220c91911f9f3d394d544122102802f9253f
parentf8ce6269449706b629a1e042319a0482f689bb4c
lib: Fix possible usage of uninited data

assert when if_lookup_address is passed with
a family that is not AF_INET or AF_INET6 as
that we are dead in the water and this is a
dev escape

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
lib/if.c