]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix aggregate route AS Path attribute
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Mon, 13 Dec 2021 20:21:56 +0000 (17:21 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Tue, 21 Dec 2021 13:48:18 +0000 (10:48 -0300)
commit8bd0d3b1db2eeaeaf9c6f5eedc9b7779233ad8df
tree3cadf60944fc866a74d2d559445bc12a86842d8f
parent08583527b2e8c708e60fce2aee39474b9f543396
bgpd: fix aggregate route AS Path attribute

Always free the locally allocated attribute not the one we are using for
return. This fixes a memory leak and a crash when AS Path is set with
route-map.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
bgpd/bgp_attr.c