mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 09:00:55 +00:00
Quagga crash in prefix_list_apply
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-8130
This commit is contained in:
parent
06370dacc0
commit
301d65c0ba
@ -743,7 +743,7 @@ prefix_list_apply (struct prefix_list *plist, void *object)
|
||||
|
||||
struct prefix *p = (struct prefix *) object;
|
||||
uint8_t *byte = &p->u.prefix;
|
||||
size_t depth = plist->master->trie_depth;
|
||||
size_t depth;
|
||||
size_t validbits = p->prefixlen;
|
||||
struct pltrie_table *table;
|
||||
|
||||
@ -753,6 +753,7 @@ prefix_list_apply (struct prefix_list *plist, void *object)
|
||||
if (plist->count == 0)
|
||||
return PREFIX_PERMIT;
|
||||
|
||||
depth = plist->master->trie_depth;
|
||||
table = plist->trie;
|
||||
while (1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user