tabled: zero GList host_list or else crash
PATCH 1/7 tabled: zero GList host_list or else crash
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 <[email protected]>
server/cldu.c +1 -1
@@ -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)) {
Quoted 4 lines · Pete Zaitcev
Awkward API: a Glib's list must be NULL at the start, and
cldc_getaddrappends to an existing list.Signed-off-by Pete Zaitcev <[email protected]>
applied 1-7