mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 18:42:23 +00:00
![]() When evpn configured wiht route-map with vni which is not configured. Upon receiving evpn routes (i.e Type-2, Type-3), route-map match will be triggered. Since there is no l2vni exists in db, some of the member fields in bgp_info (i.e. dummy_info_extra) are passed uninitialized to evpn filter match cb. This results in inaccessible memory causes crash. Fix is to memset the bgp_info prior to passing to evpn filter cb. In evpn vni filter cb, ensure to have NULL check for member filed of the bgp_info. memset bgp_info at few places where it is passed to route_match. Ticket:CM-21335 Reviewed By: Testing Done: Configure route-map with not configured l2vni Simulate to learn l2vpn type-2, 3 route Restart frr.service with below config address-family l2vpn evpn neighbor fear route-map EVPN_VNI out route-map EVPN_VNI deny 10 match evpn vni 140010 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com> |
||
---|---|---|
alpine | ||
babeld | ||
bgpd | ||
debianpkg | ||
doc | ||
docker | ||
eigrpd | ||
fpm | ||
gdb | ||
include | ||
init | ||
isisd | ||
ldpd | ||
lib | ||
m4 | ||
nhrpd | ||
ospf6d | ||
ospfclient | ||
ospfd | ||
pbrd | ||
pimd | ||
pkgsrc | ||
ports | ||
python | ||
qpb | ||
redhat | ||
ripd | ||
ripngd | ||
sharpd | ||
snapcraft | ||
solaris | ||
tests | ||
tools | ||
vtysh | ||
watchfrr | ||
zebra | ||
.clang-format | ||
.dir-locals.el | ||
.dockerignore | ||
.gitignore | ||
AUTHORS | ||
bootstrap.sh | ||
buildtest.sh | ||
ChangeLog | ||
common.am | ||
configure.ac | ||
COPYING | ||
COPYING-LGPLv2.1 | ||
defaults.h | ||
Makefile.am | ||
NEWS | ||
README | ||
stamp-h.in |
FRRouting is free software that implements and manages various IPv4 and IPv6 routing protocols. Currently FRRouting supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, RIPng, IS-IS, PIM-SM/MSDP, LDP and Babel as well as very early support for EIGRP and NHRP. See doc/user/bugs.rst for information on how to report bugs. See doc/developer/workflow.rst for information on contributing. See the file COPYING for copying conditions. Public email discussion can be found at https://lists.frrouting.org/listinfo Our public slack channel is at https://frrouting.slack.com