aboutsummaryrefslogtreecommitdiff
path: root/lib/strtok.c
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-08-11 23:16:08 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-08-11 23:16:08 +0000
commitf1fe04245ac04b72d1380b6a75a46dcb335fd7ab (patch)
treea2db8de675ddc3d287757f690d7d63abf61ef3a5 /lib/strtok.c
parent8bb208e8f8d33a6cc0f670af1dcedc79764b83a1 (diff)
Fixed a boundary condition error in ftp_readresp() whereby a non-terminal
line of a multiline FTP response whose last byte landed exactly at the end of the BUFSIZE-length buffer would be treated as the terminal response line. The following response code read in would then actually be the end of the previous response line, and all responses from then on would correspond to the wrong command. Test case 1062 verifies this. Stop closing a never-opened ftp socket.
Diffstat (limited to 'lib/strtok.c')
0 files changed, 0 insertions, 0 deletions