summaryrefslogtreecommitdiff
path: root/pimd/pim_errors.c
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2024-04-03 16:28:23 +0200
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2024-05-24 19:32:15 +0000
commit64bf99d572f66cfc6394b0d58cca2f7fc9f28b12 (patch)
tree69a419d997e8a7fed9eddf5e810c3846d109338d /pimd/pim_errors.c
parentc92d08c2770d032c6909754b02c320f7e8172b4d (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 'pimd/pim_errors.c')
0 files changed, 0 insertions, 0 deletions