mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 04:01:59 +00:00
Merge pull request #9834 from idryzhov/pbr-null-deref
pbrd: protect from a possible NULL dereference
This commit is contained in:
commit
fbdde12ad3
@ -499,7 +499,7 @@ DEFPY(pbr_map_nexthop, pbr_map_nexthop_cmd,
|
||||
actual = vrf_lookup_by_id(ifp->vrf_id);
|
||||
vty_out(vty,
|
||||
"Specified Intf %s is not in vrf %s but is in vrf %s, using actual vrf\n",
|
||||
ifp->name, vrf->name, actual->name);
|
||||
ifp->name, vrf->name, VRF_LOGNAME(actual));
|
||||
}
|
||||
nhop.ifindex = ifp->ifindex;
|
||||
nhop.vrf_id = ifp->vrf_id;
|
||||
|
Loading…
Reference in New Issue
Block a user