summaryrefslogtreecommitdiff
path: root/pimd/pim_errors.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 09:59:24 +0300
commit2f0698dda58482719d207336cb7092388589e8fa (patch)
tree89e76cb8225ac789db4eba332796e3044dcab95d /pimd/pim_errors.c
parent76e43eab2f82d24c398d5ba545892c6ce97def87 (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 'pimd/pim_errors.c')
0 files changed, 0 insertions, 0 deletions