[Nagiosplug-devel] FW: patch for minor issue with check_mysql 1.4.15

Robert Cohen robert.cohen at anu.edu.au
Wed Oct 6 10:57:52 CEST 2010


I've been getting segfaults out of check_mysql with the -S option to check
slaves.

A little digging revealed it was due to a printf of a NULL pointer as a
string. Some OS's eg Linux handle that by printing "(null)" but Solaris
doesn't like it and segfaults.

Heres a trivial patch

I originally sent this to the wrong list, but I'm resending here.
Hope you don't end up with 2 copies...


=======================================
Robert Cohen
Systems & Desktop Services
Division of Information
R.G Menzies Building
Building 2
The Australian National University
Canberra ACT 0200 Australia
 
T: +61 2 6125 8389
F: +61 2 6125 7699
http://www.anu.edu.au
 
CRICOS Provider #00120C
=======================================




-------------- next part --------------
A non-text attachment was scrubbed...
Name: nagios-plugins-1.4.15.patch
Type: application/octet-stream
Size: 956 bytes
Desc: not available
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20101006/a84b1ae9/attachment.obj>


More information about the Devel mailing list