]> git.puffer.fish Git - mirror/frr.git/commit
staticd: Check against NULL before dereferencing vrf 14452/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 20 Sep 2023 12:24:25 +0000 (15:24 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 20 Sep 2023 12:25:29 +0000 (15:25 +0300)
commita914bd1643fb95fa82b884d3e719b129bc4665e7
tree02876499cc092f3d843408e89c629aade98f9820
parentcbbdcee7a80a23bbb49ba0d3de5a1e0aa4a35fe1
staticd: Check against NULL before dereferencing vrf

If VRF is not found by the given name, validate it and return an error.

Fixes: 76b2bc97e738 ("staticd: Accept full blackhole typed keywords for ip_route_cmd")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
staticd/static_nb_config.c