
jorge at dti2
Apr 10, 2012, 7:57 AM
Views: 187
Permalink
|
|
[PATCH 0/6] Fixes for some memory leaks on bgpd
|
|
From: "Jorge Boncompte [DTI2]" <jorge [at] dti2> This series fixes some memory leaks caused by the use of the functions sockunion_str2su() and sockunion_su2str(). The patches remove the functions because it's use is error prone, library functions should try not to allocate memory. Jorge Boncompte [DTI2] (6): bgpd: Fix memory leak with 'set ip next-hop peer-address' lib: remove last uses of sockunion_su2str() bgpd: Fix memory leak of some "show ip bgp neighbor" commands extend use of sockunion2ip macro to more places lib: remove sockunion related unused definitions bgpd: cleanup, use correct buffer sizes for sockunion2str() bgpd/bgp_fsm.c | 4 +- bgpd/bgp_mplsvpn.c | 27 ++++++++++++----------- bgpd/bgp_network.c | 2 +- bgpd/bgp_route.c | 60 ++++++++++++++++++++++++++++++-------------------- bgpd/bgp_routemap.c | 18 +++++---------- bgpd/bgp_vty.c | 12 ++++------ lib/sockunion.c | 58 ++---------------------------------------------- lib/sockunion.h | 11 +------- lib/vty.c | 21 ++++++----------- lib/vty.h | 7 +++-- zebra/zebra_rib.c | 6 ++-- 11 files changed, 84 insertions(+), 142 deletions(-) -- 1.7.8.3 _______________________________________________ Quagga-dev mailing list Quagga-dev [at] lists http://lists.quagga.net/mailman/listinfo/quagga-dev
|