mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-10 07:38:06 -05:00
Several people have spotted an uninitialised structure member leading to a
potential crash on "reget" in Unix PSFTP. [originally from svn r8516]
This commit is contained in:
parent
d58d1692b8
commit
19e47863de
@ -202,6 +202,7 @@ WFile *open_existing_wfile(char *name, uint64 *size)
|
||||
|
||||
ret = snew(WFile);
|
||||
ret->fd = fd;
|
||||
ret->name = dupstr(name);
|
||||
|
||||
if (size) {
|
||||
struct stat statbuf;
|
||||
|
Loading…
x
Reference in New Issue
Block a user