[BusyBox 0000723]: zcip.c: tv1 seems to be used uninitialized the first time through the protocol loop

bugs at busybox.net bugs at busybox.net
Fri Jun 30 14:05:53 UTC 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=723 
====================================================================== 
Reported By:                kediger
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   723
Category:                   Networking Support
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             02-16-2006 11:39 PST
Last Modified:              06-30-2006 07:05 PDT
====================================================================== 
Summary:                    zcip.c: tv1 seems to be used uninitialized the first
time through the protocol loop
Description: 
The first time through the protocol loop in zcip_main(), struct timeval tv1
is uninitialized. The result can be a very large timeout value (suseconds_t
timeout) when calling poll(). With a large timeout, zcip will never assign
a link local address.

A proposed patch is attached.

-Kevin
====================================================================== 

---------------------------------------------------------------------- 
 landley - 06-30-06 07:05  
---------------------------------------------------------------------- 
svn 15556 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-16-06 11:39  kediger        New Issue                                    
02-16-06 11:39  kediger        Status                   new => assigned     
02-16-06 11:39  kediger        Assigned To               => BusyBox         
02-16-06 11:39  kediger        File Added: tv1.patch                        
02-16-06 11:40  kediger        Issue Monitored: kediger                     
06-30-06 07:05  landley        Status                   assigned => closed  
06-30-06 07:05  landley        Note Added: 0001484                          
======================================================================




More information about the busybox-cvs mailing list