mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-06-30 11:02:48 -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:
@ -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;
|
||||
|
Reference in New Issue
Block a user