[Bug 10741] New: ftpd lacks LFS

bugzilla at busybox.net bugzilla at busybox.net
Sun Feb 4 17:49:04 UTC 2018


https://bugs.busybox.net/show_bug.cgi?id=10741

            Bug ID: 10741
           Summary: ftpd lacks LFS
           Product: Busybox
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Networking
          Assignee: unassigned at busybox.net
          Reporter: 12f8219 at gmail.com
                CC: busybox-cvs at busybox.net
  Target Milestone: ---

number 3564754712 is not in 0..2147483647 range
write error: Broken pipe
451 Error


--- o/networking/ftpd.c 2018-01-24 21:06:49.656307468 +0200
+++ busybox-9999/networking/ftpd.c  2018-01-24 21:09:39.216894809 +0200
@@ -599,7 +599,7 @@
 handle_rest(void)
 {
    /* When ftp_arg == NULL simply restart from beginning */
-   G.restart_pos = G.ftp_arg ? xatoi_positive(G.ftp_arg) : 0;
+   G.restart_pos = G.ftp_arg ? XATOOFF(G.ftp_arg) : 0;
    WRITE_OK(FTP_RESTOK);
 }

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the busybox-cvs mailing list