[PATCH] NDOUtils: fix save_custom_variables o_id type, size of es array

Michael Friedrich michael.friedrich at univie.ac.at
Mon Feb 22 13:20:58 CET 2010


Michael Friedrich wrote:
> 2/ Having custom variables defined, they will be written to the 
> database. There are two handlers for es[] - es[0] and es[1]. But the 
> definition only defines size 1, not 2. When writing es[1] = ... this 
> will lead to a segfault of ndo2db causing ndomod to produce "error 
> writing to datasink" outputs in syslog.

This relates to
http://tracker.nagios.org/view.php?id=91

Kind regards,
Michael


-- 
DI (FH) Michael Friedrich
michael.friedrich at univie.ac.at
Tel: +43 1 4277 14359

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev




More information about the Developers mailing list