[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
Thu Feb 16 19:39:13 UTC 2006


The following issue has been SUBMITTED. 
====================================================================== 
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:                     assigned
====================================================================== 
Date Submitted:             02-16-2006 11:39 PST
Last Modified:              02-16-2006 11:39 PST
====================================================================== 
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
====================================================================== 

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                        
======================================================================




More information about the busybox-cvs mailing list