diff options
| author | Olivier Dugeon <olivier.dugeon@orange.com> | 2024-04-03 16:28:23 +0200 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-05-24 19:32:17 +0000 |
| commit | fb1020ff7d032948bd121bd1603bed41afb73e29 (patch) | |
| tree | 7dca3f016f236e205d5297e90e5db858da73780d /tests/topotests/example-test/test_example.py | |
| parent | 80f125d8b7729b830dfa71e53c4c9cff8d7afbcd (diff) | |
ospfd: Solved crash in RI parsing with OSPF TE
Iggy Frankovic discovered another ospfd crash when performing fuzzing of OSPF
LSA packets. The crash occurs in ospf_te_parse_ri() function when attemping to
read Segment Routing subTLVs. The original code doesn't check if the size of
the SR subTLVs have the correct length. In presence of erronous LSA, this will
cause a buffer overflow and ospfd crash.
This patch introduces new verification of the subTLVs size for Router
Information TLV.
Co-authored-by: Iggy Frankovic <iggyfran@amazon.com>
Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
(cherry picked from commit f69d1313b19047d3d83fc2b36a518355b861dfc4)
Diffstat (limited to 'tests/topotests/example-test/test_example.py')
0 files changed, 0 insertions, 0 deletions
