[Nagiosplug-devel] [ nagiosplug-Bugs-1180701 ] check_ping segfault at line 106

SourceForge.net noreply at sourceforge.net
Mon Apr 11 06:12:21 CEST 2005


Bugs item #1180701, was opened at 2005-04-11 13:11
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=1180701&group_id=29880

Category: None
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Florian Gleixner (redflo)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ping segfault at line 106

Initial Comment:
check_ping.c Revision 1.42 segfaults on line 106 if the
Makro PING6_COMMAND and the Makro PING_HAS_TIMEOUT is
set because the format string of asprintf has only two
placeholders in PING6_COMMAND but the PING_HAS_TIMEOUT
command delivers 3 Variables (timeout_interval,
max_packets, addresses[i]).

I guess either the PING6_COMMAND should be changed or
one needs another #ifdef case.


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

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




More information about the Devel mailing list