summaryrefslogtreecommitdiffstats
path: root/zebra/rt_socket.c
diff options
context:
space:
mode:
authorpaul <paul>2007-08-30 13:36:17 +0000
committerpaul <paul>2007-08-30 13:36:17 +0000
commita9462722233241d99256d98d5c8ae33fb906e1f8 (patch)
tree0d85a8220e9785851d8ea452f8d517fd754f3ce5 /zebra/rt_socket.c
parentfad82c05a82b2460b5d3a8afe0e0e81fc33ebee5 (diff)
downloadquagga-a9462722233241d99256d98d5c8ae33fb906e1f8.tar.bz2
quagga-a9462722233241d99256d98d5c8ae33fb906e1f8.tar.xz
[bgpd] bug #398 Bogus free on out route-map, and assert() with rsclients
2007-08-27 Paul Jakma <paul.jakma@sun.com> * bgp_route.c: (bgp_announce_check) Fix bug #398, slight modification of Vladimir Ivanov's suggested fix - to keep memory alloc conditional. (bgp_process_announce_selected) Don't take struct attr as argument, none of the callers need it and it needlessly distances allocation from use. Free the extended attr, the attr itself is on the stack. Fix bad indentation. * bgp_attr.c: (bgp_packet_attribute) Remove incorrect assert, and adjust conditional to test attr->extra, diagnosis by Vladimir Ivanov in bug #398. 2007-08-27 Vladimir Ivanov <wawa@yandex-team.ru> * bgp_route.c: (bgp_announce_check_rsclient) copy of ri->attr is no longer deep enough, due to addition of attr->extra. It should use bgp_attr_dup, as bgp_announce_check() does.
Diffstat (limited to 'zebra/rt_socket.c')
0 files changed, 0 insertions, 0 deletions