1
0
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:
Jacob Nevins 2009-04-26 22:19:30 +00:00
parent d58d1692b8
commit 19e47863de

View File

@ -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;