[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] hobbitd core dumps when receiving a status message on a host not in bb-hosts (snapshot 18 March 2008)
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] hobbitd core dumps when receiving a status message on a host not in bb-hosts (snapshot 18 March 2008)
- From: Henrik Stoerner <henrik (at) hswn.dk>
- Date: Thu, 20 Mar 2008 00:06:08 +0100
- References: <!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAAC4AAAAAAAAAvrTCuIsz1xGxNWiNbQAAAAEAUR1BVCzq0xGwsQCgzFqsgwAAAAGTZwAAEAAAAGp/jZanGL9CvvAHzkXFg7kBAAAAAA== (at) syntec.co.uk>
- User-agent: Mutt/1.5.15+20070412 (2007-04-11)
On Wed, Mar 19, 2008 at 07:33:52PM -0000, Sebastian wrote:
> hobbitd core dumps when receiving a status message on a host not in bb-hosts
> (snapshot 18 March 2008).
Thanks for your detailed report. The attached patch should fix this.
Regards,
Henrik
--- lib/loadhosts.c 2008/03/02 12:12:50 1.76
+++ lib/loadhosts.c 2008/03/19 23:04:15
@@ -396,9 +396,9 @@
rbtKeyValue(rbhosts, hosthandle, &k1, &k2);
result = (namelist_t *)k2;
- }
- if ((result->notbefore > now) || (result->notafter < now)) return NULL;
+ if ((result->notbefore > now) || (result->notafter < now)) return NULL;
+ }
return result;
}