mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-10 08:39:33 +00:00
Merge pull request #16136 from FRRouting/mergify/bp/stable/9.0/pr-16111
ospf6d: Prevent heap-buffer-overflow with unknown type (backport #16111)
This commit is contained in:
commit
db613bd7e7
@ -176,6 +176,7 @@ static int ospf6_extract_grace_lsa_fields(struct ospf6_lsa *lsa,
|
||||
return OSPF6_FAILURE;
|
||||
break;
|
||||
default:
|
||||
sum += TLV_SIZE(tlvh);
|
||||
if (IS_DEBUG_OSPF6_GR)
|
||||
zlog_debug("%s, Ignoring unknown TLV type:%d",
|
||||
__func__, ntohs(tlvh->type));
|
||||
|
Loading…
Reference in New Issue
Block a user