[Bug 203044] net-mgmt/nagios-plugins: check_smtp, check_tcp segfault when monitored port is closed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Sep 11 15:20:18 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203044

            Bug ID: 203044
           Summary: net-mgmt/nagios-plugins: check_smtp, check_tcp
                    segfault when monitored port is closed
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: mat at FreeBSD.org
          Reporter: kyle.dippery at uky.edu
          Assignee: mat at FreeBSD.org
             Flags: maintainer-feedback?(mat at FreeBSD.org)

After this week's update to nagios-plugins 2.1.1, check_smtp and check_tcp
segfault when the port they are meant to be monitoring is closed:

 nagios at grackle:/usr/local/libexec/nagios>./check_smtp -V
check_smtp v (nagios-plugins 2.1.1)

 nagios at grackle:/usr/local/libexec/nagios>./check_smtp -H localhost
Segmentation fault

 nagios at grackle:/usr/local/libexec/nagios>./check_tcp -V
check_tcp v (nagios-plugins 2.1.1)

 nagios at grackle:/usr/local/libexec/nagios>./check_tcp -H localhost -p 26
Segmentation fault

Also when -v is used with no other arguments (I found this by accident, I was
aiming for -V):

 nagios at grackle:/usr/local/libexec/nagios>./check_smtp -v
HELOCMD: HELO grackle
Segmentation fault

 nagios at grackle:/usr/local/libexec/nagios>./check_tcp -v
Using service TCP
Port: 0
flags: 0x2
Segmentation fault

Host is FreeBSD 9.3-RELEASE, GENERIC kernel on amd64.

Please let me know if I can supply any further information to help resolve
this.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list