Skip to content

Commit

Permalink
This line is the cause of Bug#4237; it means we do not adjust our ASCII
Browse files Browse the repository at this point in the history
buffer lengths appropriate when handling ASCII uploads -- but only if the LAST
character in the buffer (read from the network) is a CR.
  • Loading branch information
Castaglia committed Apr 24, 2016
1 parent e4d47ee commit 1e1533a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ascii.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ int pr_ascii_ftp_from_crlf(pool *p, char *in, size_t inlen, char **out,
/* copy, but save it for later */
adj++;
*dst++ = *src++;
(*outlen)++;

} else {
if (*(src+1) == '\n') {
Expand Down

0 comments on commit 1e1533a

Please sign in to comment.