]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: correctly handle repeated SRv6 attributes
authorQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 5 Mar 2020 21:13:17 +0000 (16:13 -0500)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Thu, 5 Mar 2020 21:15:01 +0000 (16:15 -0500)
commitb502ca11659ca31292209e4263bd885e3e2262a8
treee2607254ad841f3d0cd7c3bd0ad5ca7913010146
parent01abb5acde5891f48491282b32a06b873be1f98a
bgpd: correctly handle repeated SRv6 attributes

Repeating SRv6 attributes N times leaks (N-1)*32 bytes of memory.

Fix it!

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_attr.c