mirror_frr/tests
Quentin Young f69aeb7696 bgpd: fix missing bounds checks for psid attr
Guess what - for a bounds check to work, it has to happen *before* you
read the data. We were trusting the attribute field received in a prefix
SID attribute and then checking if it was correct afterwards, but if was
wrong we'd crash before that.

This fixes the problem, and adds additional paranoid bounds checks.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2020-01-03 14:06:31 -05:00
..
bgpd bgpd: fix missing bounds checks for psid attr 2020-01-03 14:06:31 -05:00
helpers lib: rename memory_vty.c to lib_vty.c 2019-12-06 15:13:29 +01:00
isisd isisd: Update TLVs processing for TE, RI & SR 2019-09-17 17:35:50 +02:00
lib tests: fix endian bug in test_typelist 2019-12-18 10:52:08 -05:00
ospf6d build: non-recursive tests 2018-09-08 21:26:54 +02:00
topotests tests: Test if eBGP policy is not applied to iBGP peers 2019-12-19 11:07:14 +02:00
.gitignore lib: add frr_version_cmp() 2019-12-06 15:13:32 +01: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 tests: add pytest testrunners 2017-02-13 17:43:47 +01:00
subdir.am lib: add frr_version_cmp() 2019-12-06 15:13:32 +01:00