diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-08-30 10:33:29 -0400 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2023-08-31 11:05:07 +0300 |
| commit | 98b8d08ca9c443fee79ab3b7563f69d2ae322354 (patch) | |
| tree | 0bd94c21a24a972dfd8b9dab59129fc7f3811d27 /python/firstheader.py | |
| parent | 9d1ee3ade337cc195deaea76bda5b3e297df0c04 (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>
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions
