Differences From Artifact [cad2afb42f]:
- File pscp.c — part of check-in [ad8c919057] at 2013-07-19 12:44:28 on branch trunk — Add a nonfatal() function everywhere, to be used for reporting things that the user really ought to know but that are not actually fatal to continued operation of PuTTY or a single network connection. (user: simon size: 61575)
To Artifact [e23a8accb1]:
- File pscp.c — part of check-in [f6693a7219] at 2013-07-29 12:47:33 on branch trunk — Remove one of the frees added in r9916. stat_name points to somewhere within the same string that destfname points to the start of, so freeing it causes at best a double-free of destfname and more likely a free of something that isn't even the start of an allocated block. (user: simon size: 61556)
| ︙ | ︙ | |||
2022 2023 2024 2025 2026 2027 2028 |
}
received = uint64_add32(received, read);
}
if (act.settime) {
set_file_times(f, act.mtime, act.atime);
}
| < | 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 |
}
received = uint64_add32(received, read);
}
if (act.settime) {
set_file_times(f, act.mtime, act.atime);
}
close_wfile(f);
if (wrerror) {
run_err("%s: Write error", destfname);
sfree(destfname);
continue;
}
(void) scp_finish_filerecv();
|
| ︙ | ︙ |