]> git.puffer.fish Git - mirror/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)
committerDenis Ovsienko <infrastation@yandex.ru>
Wed, 3 Aug 2011 12:56:42 +0000 (16:56 +0400)
commit0ddff5764f736c0a6d0d07b28bf98970624f263b
treeb8bf91a9d3de885cf8da7f2fdafe356ff3e56c54
parentaad356a49d6b00590b21751ea560c54f321c73c9
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