mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
When a STAT command is sent to ftpd as an out-of-band transmission during
a file transfer, the command was mishandled on every other receipt of the command. PR: 13261 Submitted by: Ian Lepore <ian@plutotech.com>
This commit is contained in:
parent
da600884bd
commit
9db4bbf32a
1 changed files with 1 additions and 0 deletions
|
|
@ -1968,6 +1968,7 @@ myoob(signo)
|
|||
longjmp(urgcatch, 1);
|
||||
}
|
||||
if (strcmp(cp, "STAT\r\n") == 0) {
|
||||
tmpline[0] = '\0';
|
||||
if (file_size != (off_t) -1)
|
||||
reply(213, "Status: %qd of %qd bytes transferred",
|
||||
byte_count, file_size);
|
||||
|
|
|
|||
Loading…
Reference in a new issue