mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 22:50:14 +00:00
![]() While processing references to the macro PEERAF_FOREACH(), aggressive loop optimization by gcc 4.9.x (probably 4.8 and greater) was resulting in the generated code not checking on the index as well as eliminating some code. This was leading to a dereference of invalid memory when a BGP peer came up. The fix is to scrap this convoluted macro. Two other changes done are to eliminate overloading of "afindex" and make the loop iterator an integer. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Dave Olson <olson@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com> Ticket: CM-8889 Reviewed By: CCR-4018 Testing Done: Verified failure scenario Note: This code was added as part of update-groups implementation; when upstreaming update-groups, this patch should also be included. |
||
---|---|---|
babeld | ||
bgpd | ||
cumulus/etc | ||
debian | ||
doc | ||
fpm | ||
init | ||
isisd | ||
lib | ||
m4 | ||
ospf6d | ||
ospfclient | ||
ospfd | ||
pkgsrc | ||
ports | ||
redhat | ||
ripd | ||
ripngd | ||
solaris | ||
tests | ||
tools | ||
vtysh | ||
watchquagga | ||
zebra | ||
.gitignore | ||
AUTHORS | ||
bootstrap.sh | ||
buildtest.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING | ||
COPYING.LIB | ||
HACKING.pending | ||
HACKING.tex | ||
INSTALL.quagga.txt | ||
Makefile.am | ||
NEWS | ||
README | ||
README.NetBSD | ||
REPORTING-BUGS | ||
SERVICES | ||
stamp-h.in | ||
TODO | ||
update-autotools |
Quagga is free software that manages various IPv4 and IPv6 routing protocols. Currently Quagga supports BGP4, BGP4+, OSPFv2, OSPFv3, RIPv1, RIPv2, and RIPng as well as very early support for IS-IS. See the file INSTALL.quagga.txt for building and installation instructions. See the file REPORTING-BUGS to report bugs. Quagga is free software. See the file COPYING for copying conditions.