[Xymon] Xymond crashing when scheduling disable in 4.3.15

Henrik Størner henrik at hswn.dk
Mon Feb 17 13:16:20 CET 2014


 

Den 2014-02-17 12:46, Johan Sjöberg skrev: 

> Hi. 
> 
> We recently
updated our Xymon installation to 4.3.15. Now it seems like we cannot
schedule disable from the "Enable/disable" page. We get this error in
the xymond.log:

Same in 4.3.16, it seems. Problem is in line 4368 -
there is a "NULL" missing in the addtobuffer_many() call.

Index:
xymond/xymond.c
===================================================================
---
xymond/xymond.c (revision 7439)
+++ xymond/xymond.c (working copy)
@@
-4165,7 +4165,7 @@

 for (swalk = schedulehead; (swalk); swalk =
swalk->next) {
 snprintf(tbuf, sizeof(tbuf), "%d|%d", swalk->id,
(int)swalk->executiontime);
- addtobuffer_many(response, tbuf, "|",
swalk->sender, "|", nlencode(swalk->command));
+
addtobuffer_many(response, tbuf, "|", swalk->sender, "|",
nlencode(swalk->command), NULL);
 }

 xfree(msg->buf); 

Will put this
into 4.3.17. 

Regards,
Henrik 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20140217/0b18b6c9/attachment.html>


More information about the Xymon mailing list