[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge
- To: hobbit (at) hswn.dk
- Subject: Re: [hobbit] Xymon 4.3.0: Beta version available on Sourceforge
- From: Henrik =?unknown-8bit?q?St=C3=B8rner?= <henrik (at) hswn.dk>
- Date: Tue, 10 Feb 2009 16:08:04 +0100
- References: <20090209140251.GA1292 (at) osiris.hswn.dk> <!&!AAAAAAAAAAAYAAAAAAAAABPo+1rd0E5Bh/I2z7pXPevCgAAAEAAAAKdqkcoxEGZOjbDkmBtCDzsBAAAAAA== (at) keithm.us>
- User-agent: Mutt/1.5.18 (2008-05-17)
On Mon, Feb 09, 2009 at 04:48:48PM -0500, Keith Meserole wrote:
> http://my-server.net/hobbit-seccgi/hobbit-enadis.sh
>
> "Internal Server Error
>
> Info does not work - similar errors
I think this is a pretty widespread bug. The attached patch should fix
it, but this code is used throughout Xymon, so a "make clean; make; make
install" would probably be needed afterwards.
For testing, you can skip the "make install" and just copy web/*.cgi
to your ~xymon/server/bin/ directory.
Let me know if it helps.
Regards,
Henrik
Index: lib/sendmsg.c
===================================================================
--- lib/sendmsg.c (revision 6110)
+++ lib/sendmsg.c (working copy)
@@ -482,7 +482,10 @@
}
if (oneres == BB_OK) {
- if (response && response->respstr) addtobuffer(response->respstr, respstr);
+ if (respstr && response && response->respstr) {
+ addtobuffer(response->respstr, respstr);
+ xfree(respstr);
+ }
first = 0;
}
}