[BusyBox 0001496]: tftp applet never reaches timeout retry limit

bugs at busybox.net bugs at busybox.net
Mon Feb 11 08:49:49 PST 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=1496 
====================================================================== 
Reported By:                whitpa
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   1496
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             09-10-2007 06:04 PDT
Last Modified:              02-11-2008 08:49 PST
====================================================================== 
Summary:                    tftp applet never reaches timeout retry limit
Description: 
The "timeout" variable never gets a chance to get any smaller than
TFTP_NUM_RETRIES-1, because it gets reset to TFTP_NUM_RETRIES on every
loop iteration.

I'm guessing that networking/tftp.c:221, which reads:

                timeout = TFTP_NUM_RETRIES;     /* re-initialize */

... ought to be somewhere *above* the "send_again" label!

Not sure when this broke, exactly, but it's at least Busybox 1.6.0
onwards.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 02-11-08 08:49  
---------------------------------------------------------------------- 
Apparently fixed (just looked at 1.10.svn) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-10-07 06:04  whitpa         New Issue                                    
09-10-07 06:04  whitpa         Status                   new => assigned     
09-10-07 06:04  whitpa         Assigned To               => BusyBox         
02-11-08 08:49  vda            Status                   assigned => closed  
02-11-08 08:49  vda            Note Added: 0003954                          
======================================================================



More information about the busybox-cvs mailing list