From: Pete Zaitcev Subject: [Patch 1/7] tabled: zero GList host_list or else crash Date: Wed, 12 Aug 2009 23:28:16 -0600 Message-ID: <20090812232816.17c01d9a@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: Sender: hail-devel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Jeff Garzik Cc: Project Hail List Awkward API: a Glib's list must be NULL at the start, and cldc_getaddr appends to an existing list. Signed-off-by: Pete Zaitcev diff --git a/server/cldu.c b/server/cldu.c index 9ce61b7..f1c2d4d 100644 --- a/server/cldu.c +++ b/server/cldu.c @@ -583,7 +583,7 @@ int cld_begin(const char *thishost, const char *thiscell, } if (!ses.forced_hosts) { - GList *tmp, *host_list; + GList *tmp, *host_list = NULL; int i; if (cldc_getaddr(&host_list, thishost, debugging, applog)) {