mirror_frr/tests
Juraj Vijtiuk 89a1238132 isisd: fix router capability TLV parsing issues
isis_tlvs.c would fail at multiple places if incorrect TLVs were
received causing stream assertion violations.
This patch fixes the issues by adding missing length checks, missing
consumed length updates and handling malformed Segment Routing subTLVs.

Signed-off-by: Juraj Vijtiuk <juraj.vijtiuk@sartura.hr>

Small adjustments by Igor Ryzhov:
- fix incorrect replacement of srgb by srlb on lines 3052 and 3054
- add length check for ISIS_SUBTLV_ALGORITHM
- fix conflict in fuzzing data during rebase

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
(cherry picked from commit 9ba865f54d)
2022-02-09 10:49:32 +00:00
..
bgpd *: rework renaming the default VRF 2021-12-21 22:09:29 +03:00
helpers lib: adapt to version 2 of libyang 2021-05-13 16:24:48 -04:00
isisd isisd: fix router capability TLV parsing issues 2022-02-09 10:49:32 +00:00
lib lib: add time formatting printfrr exts 2022-01-14 13:33:57 +01:00
ospf6d build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00
ospfd *: rework renaming the default VRF 2021-12-21 22:09:29 +03:00
topotests Merge pull request #10408 from idryzhov/no-opaque-by-default 2022-01-28 12:54:16 +02:00
zebra build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00
.gitignore tests: add c-ares "exercise" tool 2021-11-08 14:06:21 +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 *: reformat python files 2020-10-07 17:22:26 -04:00
subdir.am build: break up tests/subdir.am 2021-11-11 14:40:03 +01:00