[Nagiosplug-devel] [ nagiosplug-Bugs-1109261 ] check_dhcp SegV's on Solaris 9

SourceForge.net noreply at sourceforge.net
Tue Jan 25 10:07:07 CET 2005


Bugs item #1109261, was opened at 2005-01-25 10:06
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=1109261&group_id=29880

Category: None
Group: CVS
Status: Open
Resolution: None
Priority: 7
Submitted By: Harper Mann (harpermann)
Assigned to: Harper Mann (harpermann)
Summary: check_dhcp SegV's on Solaris 9

Initial Comment:
Running check_dhcp on Solaris 9 produces a core:

[root at bern plugins]$ ./check_dhcp -i eri0 Bus Error 
(core dumped)

(gdb) run -i eri0
Starting 
program: /home/hmann/nagiosplug/plugins/check_dhcp -
i eri0

Program received signal SIGSEGV, Segmentation fault.
0x000127b8 in add_dhcp_offer (source=
        {S_un = {S_un_b = {s_b1 = 192 'À', s_b2 = 
168 '¨', s_b3 = 2 '\002', s_b4 = 1 '\001'}, S_un_w = 
{s_w1 = 49320, s_w2 = 513}, S_addr = 3232236033}},
    offer_packet=0xffbff9e8) at check_dhcp.c:774
774                             dhcp_lease_time=ntohl(*
((u_int32_t *)&offer_packet->options[x]));

If run with -v, it's transmits a good request, but it 
chokes on options in the reply.

This is on Solaris 9 with the GNU environment.







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

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




More information about the Devel mailing list