]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Remove one of the frees added in r9916. stat_name points to somewhere
authorSimon Tatham <anakin@pobox.com>
Mon, 29 Jul 2013 17:47:33 +0000 (17:47 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 29 Jul 2013 17:47:33 +0000 (17:47 +0000)
commitc899af6a658b0b8eef9e88bffe774a2ec7bf7856
tree8a246e44aaa56c2e38b2ba4a0aae8fb5e1e8a38e
parent65231e0c3fea75c52c373790ff4c44cb4d5a77b2
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@9974 cda61777-01e9-0310-a592-d414129be87e
pscp.c