[Nagiosplug-devel] check_http bug

Karl DeBisschop karl at debisschop.net
Sat Aug 23 08:04:12 CEST 2003


On Fri, 2003-08-22 at 09:14, Voon, Ton wrote:
> > On Fri, 2003-08-22 at 06:16, Voon, Ton wrote:
> > > Karl,
> > > 
> > > I seem to have a problem with the CVS HEAD version of 
> > check_http, but I
> > > can't find a fix. This works okay on r130, but was failing 
> > before the
> > > endless redirection loop change. Don't know exactly which 
> > version introduced
> > > the problem.

> 
> I think you should be able to recreate it with
> check_http -H www.egg.com -u / --onredirect=follow

I have just committed a version that works. Probelm is, what makes it
work is the introduction of a few 'if (verbose) printf ...' statements
in check_http (line 478 and line 518).

If I comment those out, it segfaults again.

I cannot for the life of me think how a print statement that's not even
run could stop a segfault. And I expect it's not portable. But if anyone
has seen that kind of strangeness before, feel free to pipe up.

I do not consider this issue closed.

--
Karl




More information about the Devel mailing list