[BusyBox 0004564]: Seg fault in arp

bugs at busybox.net bugs at busybox.net
Fri Aug 15 20:15:09 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=4564 
====================================================================== 
Reported By:                cristic
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   4564
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             08-13-2008 17:54 PDT
Last Modified:              08-15-2008 13:15 PDT
====================================================================== 
Summary:                    Seg fault in arp
Description: 
./arp -Ainet
causes a segmentation fault.

The problem is that hw_type is not initialized, and it's later
dereferenced
in get_hwtype(), interface.c:861, called at arp.c:463.

The net-tools' arp initializes hw_type with "ether", which I think
is the right fix.

Thanks,
Cristian

====================================================================== 

---------------------------------------------------------------------- 
 vda - 08-15-08 13:15  
---------------------------------------------------------------------- 
Fixed in rev 23085. thanks! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-13-08 17:54  cristic        New Issue                                    
08-13-08 17:54  cristic        Status                   new => assigned     
08-13-08 17:54  cristic        Assigned To               => BusyBox         
08-15-08 13:15  vda            Status                   assigned => closed  
08-15-08 13:15  vda            Note Added: 0010454                          
======================================================================




More information about the busybox-cvs mailing list