mirror_frr/tests
Donald Sharp 2e37407f9d ospf6d, tests: Prevent use after free
The code pattern:

for (ALL_LSDB(lsdb, lsa)) {
	remove_lsa(lsa)
}

has a use after free in ALL_LSDB, since we ask for the next pointer,
after it has been freed.

Modify the code such that we grab the next pointer before we can
possibly free it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-10-11 11:16:44 -04:00
..
bgpd *: reformat python files 2020-10-07 17:22:26 -04:00
helpers *: reformat python files 2020-10-07 17:22:26 -04:00
isisd *: reformat python files 2020-10-07 17:22:26 -04:00
lib *: reformat python files 2020-10-07 17:22:26 -04:00
ospf6d ospf6d, tests: Prevent use after free 2020-10-11 11:16:44 -04:00
topotests tests: bgp_l3vpn_to_bgp_vrf test needed to correct order 2020-10-08 13:02:06 -04:00
.gitignore tests, isisd: add IS-IS SPF unit tests 2020-08-26 20:16:19 -03:00
Makefile build: non-recursive tests 2018-09-08 21:26:54 +02:00
pytest.ini tests: Exclude topotests from consideration 2018-11-27 20:22:10 -05:00
runtests.py *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am tests: add bgp yang module registery to attr test 2020-10-03 11:25:37 -07:00