Xymon Mailing List Archive search

Segmentation Fault (core dumped) with xymond_alert

list Japheth Cleaver
Thu, 7 May 2015 12:13:58 -0700
Message-Id: <user-14c06f308146@xymon.invalid>

On Thu, May 7, 2015 11:45 am, John Thurston wrote:
On 5/7/2015 10:10 AM, J.C. Cleaver wrote:
On Thu, May 7, 2015 9:56 am, John Thurston wrote:
- snip -
xymoncmd xymond_alert --config=foo.cfg --test foo.bar.com msgs
--color=red
It works as expected if foo.bar.com is defined, but if that host
_isn't_
defined in the hosts.cfg, xymond_alert core dumps.
- snip -
This looks like another saved-by-glibc-NULL handling thing,
unfortunately,
which is why it doesn't show up on the Linux side.

Can you try the attached patch?
It behaves much better now. Thank you!
Can I assume this will make it into the next release?
Yes, just committed.


Regards,

-jc