[Bug 501] rx does not strip EOF bytes at the end of the last block, leading to incorrect file reception
bugzilla at busybox.net
bugzilla at busybox.net
Sun Aug 2 17:39:49 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=501
--- Comment #1 from Denys Vlasenko <vda.linux at googlemail.com> 2009-08-02 17:39:48 UTC ---
Created an attachment (id=567)
--> (https://bugs.busybox.net/attachment.cgi?id=567)
Fix
> I don't know how to detect:
> 1. That we are handling the last block
Easy, it's the last block if you see EOT character after it.
> 2. More importantly, that the 0x1A at the end of the block are actually real
data or padding
Impossible in xmodem protocol, I guess. That's why ymodem and zmodem exist.
Please try this patch
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list