Bug#663505: [rrd-developers] Bug#663505: rrdcached segfaults - not checked realpath and strdup

2012-03-12 Thread Tobias Oetiker
Hi Sebastian, thanks ... patch is applied as r2285 cheers tobi Today Sebastian Harl wrote: > forwarded 663505 rrd-develop...@lists.oetiker.ch > thanks > > Hi, > > forwarding to the RRDtool developers mailing list. Summary for the > reference: RRDCacheD segfaults at startup if the journal direc

Bug#663505: rrdcached segfaults - not checked realpath and strdup

2012-03-12 Thread Sebastian Harl
forwarded 663505 rrd-develop...@lists.oetiker.ch thanks Hi, forwarding to the RRDtool developers mailing list. Summary for the reference: RRDCacheD segfaults at startup if the journal directory does not exist. See for details. On Mon, Mar 12, 2012 at 04:03:18AM +

Bug#663505: rrdcached segfaults - not checked realpath and strdup

2012-03-11 Thread Witold Baryluk
Hi, problem is in incorrect error handling. Attached patch adds realpath and strdup error handling for journal dir option. Why journal dir was not created in first place, is different story (probably bug in postinst script) Regards, Witek -- Witold Baryluk --- rrdtool-1.4.7/src/rrd_daemon.c.o