summaryrefslogtreecommitdiff
path: root/pceplib/pcep_msg_objects_encoding.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-08-30 10:33:29 -0400
committerDonatas Abraitis <donatas@opensourcerouting.org>2023-08-31 10:02:04 +0300
commit31333424f148269502e90c9617ce177b058e5760 (patch)
tree2fe27bc23b725cd040a6ecbfce3ba222ac7c8677 /pceplib/pcep_msg_objects_encoding.c
parent1622c2ece2f68e034b43fb037503514c2195aba5 (diff)
ospfd: Prevent use after free( and crash of ospf ) when no router ospf
Consider this config: router ospf redistribute kernel Then you issue: no router ospf ospf will crash with a use after free. The problem is that the event's associated with the ospf pointer were shut off then the ospf_external_delete was called which rescheduled the event. Let's just move event deletion to the end of the no router ospf. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pceplib/pcep_msg_objects_encoding.c')
0 files changed, 0 insertions, 0 deletions