]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: fix crash when removing router from vrf that doesn't exist
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 7 May 2021 14:52:41 +0000 (17:52 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 27 May 2021 10:18:42 +0000 (13:18 +0300)
commitffd82132ed35afba9439ab3abfb5bed113e257db
tree49b6a9b393f0e7a903300f7859558af1fefb0d5e
parent33e9257b70a40f8181f689783ad18a89ae0d2b97
ospf6d: fix crash when removing router from vrf that doesn't exist

`listgetdata(listhead(list))` crashes for an empty list.

Reproducible with:
```
router ospf6 vrf doesntexist
 default-information originate always
 exit
no router ospf6 vrf doesntexist
```

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
ospf6d/ospf6_asbr.c