]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Fix free of an uninitialised pointer.
authorSimon Tatham <anakin@pobox.com>
Mon, 26 Aug 2013 11:55:56 +0000 (11:55 +0000)
committerSimon Tatham <anakin@pobox.com>
Mon, 26 Aug 2013 11:55:56 +0000 (11:55 +0000)
commita5d46a25fe9a9111fd1cf06e1aa64fe68f147fdc
tree7ba0c205f17ad92a64d69c77d7c4a8dfab7b94a7
parent7231b4dbe2552631c6e03a7fa7cb13ae2e853748
Fix free of an uninitialised pointer.

CHAN_AGENT channels need c->u.a.message to be either NULL or valid
dynamically allocated memory, because it'll be freed by
ssh_channel_destroy. This bug triggers if an agent forwarding channel
is opened and closed without having sent any queries.

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