diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-08-30 10:33:29 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-08-30 10:33:29 -0400 |
| commit | 530be6a4d089600f1028439ddec420ef651b983b (patch) | |
| tree | 66630268b655c45166fd89d5847385dd0e7d040f /lib/printf/vfprintf.c | |
| parent | 6ed47401a7df973fad8e007005ce85bf8d491232 (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 'lib/printf/vfprintf.c')
0 files changed, 0 insertions, 0 deletions
