[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] Patch for bugs in tftp.c
From:       "Christian Meyer" <chrisime () web ! de>
Date:       2003-07-29 10:27:51
[Download RAW message or body]

This is MIME


Hi

We've solved two other bugs in the tftp client:

--- tftp.c  Sat Jul 26 10:16:10 2003
+++ tftp.c.new  Tue Jul 29 12:23:36 2003
@@ -305,7 +305,7 @@
            }


-           if (finished) {
+           if (finished && (opcode == TFTP_ACK)) {
                break;
            }
·
@@ -346,11 +346,10 @@
            case 0:
                bb_error_msg("timeout");
·
+               timeout--;
                if (timeout == 0) {
                    len = -1;
                    bb_error_msg("last timeout");
-               } else {
-                   timeout--;
                }
                break;



Regards,
Christian Meyer

Technische Universität München
E-Mail: meyerc@in.tum.de
UIN: 72107443
AIM: chrisime
Jabber: chrisime@charent.de
______________________________________________________________________________
Wo gibt es den besten Spam-Schutz? Laut ComputerBild 15-03 bei
WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021122
["smime.p7s" (application/x-pkcs7-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic