]> the.earth.li Git - onak.git/commitdiff
Ensure DB4 backend dbconns memory is initialised to zero
authorJonathan McDowell <noodles@earth.li>
Tue, 24 Mar 2009 20:47:43 +0000 (20:47 +0000)
committerJonathan McDowell <noodles@earth.li>
Tue, 24 Mar 2009 20:47:43 +0000 (20:47 +0000)
  Change to using calloc to allocate the memory for the dbconns array,
  as this will ensure that all the pointers in it are NULL which
  prevents us segfaulting on abnormal cleanup. Fixes the segfault from
  Debian bug #520117 but not the underlying issue.


No differences found