Skip to content

Commit

Permalink
Merge pull request FRRouting#12644 from opensourcerouting/rib-uaf
Browse files Browse the repository at this point in the history
zebra: fix use after free on RIB processing
  • Loading branch information
riw777 authored Jan 17, 2023
2 parents 775ce08 + e96817f commit f31c359
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zebra/zebra_rib.c
Original file line number Diff line number Diff line change
Expand Up @@ -1306,6 +1306,7 @@ static void rib_process(struct route_node *rn)
vrf),
vrf_id, rn);
rib_unlink(rn, re);
continue;
} else
SET_FLAG(re->status,
ROUTE_ENTRY_REMOVED);
Expand Down

0 comments on commit f31c359

Please sign in to comment.