]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: use XCALLOC to allocate bgpd damp array
authorStephen Hemminger <shemminger@vyatta.com>
Thu, 5 Aug 2010 17:26:30 +0000 (10:26 -0700)
committerPaul Jakma <paul@quagga.net>
Mon, 21 Mar 2011 13:15:32 +0000 (13:15 +0000)
commitfac9c6b63aa74b34a22c89f005f7241d65a1765a
tree5ae640ab0541712f8c794ad394558d2974d8e5cf
parent6c88b44dcb26b60bb1f93e5c387aa102019ed849
bgpd: use XCALLOC to allocate bgpd damp array

* bgpd: (bgp_damp_parameter_set) The BGP reuse_index is not initialized
  properly.  This would cause sporadic crash when disabling dampening.  Use
  XCALLOC correctly and the right size array is initialized and no memset is
  needed.
bgpd/bgp_damp.c