]> asedeno.scripts.mit.edu Git - PuTTY.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)
commita777103fd91fd056608831e532af4b94176eeed3
tree8a246e44aaa56c2e38b2ba4a0aae8fb5e1e8a38e
parent808df44e54192d5d41b8ce988d064566027a53bc
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.

[originally from svn r9974]
[r9916 == cc4f38df148c84183efce644cd48f822233b962a]
pscp.c