Displaying 1 result from an estimated 1 matches for "resume_flag".
2013 Nov 12
3
[Bug 2171] New: potential fd leak
...Version: -current
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: sftp
Assignee: unassigned-bugs at mindrot.org
Reporter: loganaden at gmail.com
in sftp-client.c:
if (resume_flag) {
if (fstat(local_fd, &st) == -1) {
error("Unable to stat local file \"%s\": %s",
local_path, strerror(errno));
goto fail;
}
if ((size_t)st.st_size &g...