[rrd-developers] Re: RRDs::update() crashes when not enough permissions

Peter Stamfest peter at stamfest.at
Mon Mar 24 20:43:01 MET 2003


On Mon, 24 Mar 2003, Tobias Oetiker wrote:
> Date: Mon, 24 Mar 2003 19:14:36 +0100 (MET)
> From: Tobias Oetiker <oetiker at ee.ethz.ch>
> To: Stanislav Sinyagin <ssinyagin at yahoo.com>
> Cc: rrd-developers at list.ee.ethz.ch
> Subject: [rrd-developers] Re: RRDs::update() crashes when not enough
>     permissions
> 
> Today Stanislav Sinyagin wrote:
> 
> > Hi all,
> >
> > With rrdtool-2003-02-27 CVS snapshot, RRDs::update causes the
> > process death when the file is not writable by current UID.
> 
> hmmm this could be connected to the thread-save changes .... Any
> ideas peter ?

<ashamed>
  A #define turns rrd_strerror into a recursive function. Thus 
  stack-overflow, thus crash, thus argh!
</ashamed>

Find a patch attached. I hope it fixes this issue.

peter


-- Attached file removed by Ecartis and put at URL below --
-- Type: TEXT/PLAIN
-- Size: 732 bytes
-- URL : http://www.ee.ethz.ch/~slist/pantomime/patch4


--
Unsubscribe mailto:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list