mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 20:51:17 +00:00
Merge pull request #5464 from qlyoung/fix-bgp-prefix-orf-heap-overflow
lib: fix heap buf overflow when adding prefix orf
This commit is contained in:
commit
a825edad8d
@ -1891,6 +1891,8 @@ int prefix_bgp_orf_set(char *name, afi_t afi, struct orf_prefix *orfp,
|
||||
if (!plist)
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
|
||||
apply_mask(&orfp->p);
|
||||
|
||||
if (set) {
|
||||
pentry = prefix_list_entry_make(
|
||||
&orfp->p, (permit ? PREFIX_PERMIT : PREFIX_DENY),
|
||||
|
Loading…
Reference in New Issue
Block a user