logo       

Patch for bugs in tftp.c: msg#00233

linux.busybox

Subject: Patch for bugs in tftp.c

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@xxxxxxxxx
UIN: 72107443
AIM: chrisime
Jabber: chrisime@xxxxxxxxxx
______________________________________________________________________________
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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
busybox mailing list
busybox@xxxxxxxxxxxxxxxx
http://codepoet.org/mailman/listinfo/busybox
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise