[Nagiosplug-devel] [ nagiosplug-Bugs-1475899 ] check_tcp segfaults with mutliple -s or -e args.
SourceForge.net
noreply at sourceforge.net
Mon Apr 24 18:49:02 CEST 2006
Bugs item #1475899, was opened at 2006-04-24 21:48
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1475899&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: John Rouillard (rouilj)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_tcp segfaults with mutliple -s or -e args.
Initial Comment:
Plugins 1.4.3 running on FC3 or centos 4.2 redhat linux.
The following command coredumps against netcat
running as "nc -p 2525 -l":
check_tcp -H localhost -p 2525 -s send1 -e receive1 \
-s send2 -e receive2 -v
Using service TCP
Port: 2525
flags: 0x2
Send string: send2
server_expect_count: 2
0: (null)
1: receive2
received 9 bytes from host
#-raw-recv-------#
receive2
#-raw-recv-------#
looking for [(null)] anywhere in [receive2]
Segmentation fault
Note that the second send string is sent first.
It should work as presented on the command line
and send "send1" look for "receive1" then send "send2"
and look for 'receive2".
-- rouilj
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1475899&group_id=29880
More information about the Devel
mailing list