summaryrefslogtreecommitdiff
path: root/lib/command_py.c
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2024-02-26 10:40:34 +0100
committerOlivier Dugeon <olivier.dugeon@orange.com>2024-02-27 12:37:33 +0100
commita73e66d07329d721f26f3f336f7735de420b0183 (patch)
tree68b0859a20425bc097c11505ef828b566cc922b7 /lib/command_py.c
parent2bc8ae0d6a6d21e68e07484bc00893d4d9aeb0b7 (diff)
ospfd: Solved crash in OSPF TE parsing
Iggy Frankovic discovered an ospfd crash when perfomring fuzzing of OSPF LSA packets. The crash occurs in ospf_te_parse_te() function when attemping to create corresponding egde from TE Link parameters. If there is no local address, an edge is created but without any attributes. During parsing, the function try to access to this attribute fields which has not been created causing an ospfd crash. The patch simply check if the te parser has found a valid local address. If not found, we stop the parser which avoid the crash. Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
Diffstat (limited to 'lib/command_py.c')
0 files changed, 0 insertions, 0 deletions