projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2a51b0
)
ftpd: handle restarts past 2147483647 bytes. closes 10741
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 5 Feb 2018 18:06:40 +0000
(19:06 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 5 Feb 2018 18:06:40 +0000
(19:06 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ftpd.c
patch
|
blob
|
history
diff --git
a/networking/ftpd.c
b/networking/ftpd.c
index dd0fc4e9216e8049b5114e684e5307228d27c768..8abbf7f578de844356e7954de97271755213941f 100644
(file)
--- a/
networking/ftpd.c
+++ b/
networking/ftpd.c
@@
-603,7
+603,7
@@
static void
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);
}