mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 06:50:17 +00:00
lib: fix heap buf overflow when adding prefix orf
Don't lose your way Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
parent
e25ca4514f
commit
3dbedfbda7
@ -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