search for: sftp_unchecked_return

Displaying 1 result from an estimated 1 matches for "sftp_unchecked_return".

2013 Nov 30
4
[Bug 2176] New: unchecked returned value from ftruncate
...: All Status: NEW Severity: minor Priority: P5 Component: sftp Assignee: unassigned-bugs at mindrot.org Reporter: loganaden at gmail.com Created attachment 2378 --> https://bugzilla.mindrot.org/attachment.cgi?id=2378&action=edit sftp_unchecked_return @@ -1253,7 +1253,9 @@ do_download(struct sftp_conn *conn, char "server reordered requests", local_path); } debug("truncating at %llu", (unsigned long long)highwater); - ftruncate(local_fd, highwater); ftruncate value isn't checked....