[Nagiosplug-devel] [ nagiosplug-Patches-672898 ] check_mysql patch

SourceForge.net noreply at sourceforge.net
Wed Jan 22 21:07:02 CET 2003


Patches item #672898, was opened at 2003-01-22 22:17
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=672898&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason Aragorn Tobias Lunn (galactus)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_mysql patch

Initial Comment:
check_mysql.c as it appears in nagios-plugins-1.3.0-beta2.tar.gz wants the following patch to make it stop segfaulting

35d34
< int check_disk (int usp, int free_disk);
210,211c209,211
<       if (is_intnonneg (argv[c]))
<               db_port = atoi (argv[c++]);
---
>       if (argc > c)
>               if (is_intnonneg (argv[c]))
>                       db_port = atoi (argv[c++]);

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=672898&group_id=29880




More information about the Devel mailing list