simon-git: putty (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Fri Sep 28 11:28:57 BST 2018
TL;DR:
e857e433 Fix use-after-free on a network error.
Repository: https://git.tartarus.org/simon/putty.git
On the web: https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2018-09-28 11:28:57
commit e857e43361def326df7203e0be5c4feaf7824a05
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=e857e43361def326df7203e0be5c4feaf7824a05;hp=ed0104c2feae935271a12af7a9175b81527fe96e
Author: Simon Tatham <anakin at pobox.com>
Date: Fri Sep 28 11:26:26 2018 +0100
Fix use-after-free on a network error.
When any BPP calls ssh_remote_error or ssh_remote_eof, it triggers an
immediate cleanup of the BPP itself - so on return from one of those
functions we should avoid going straight to the crFinish macro,
because that will write to s->crState, which no longer exists.
ssh1bpp.c | 1 +
ssh2bpp-bare.c | 1 +
ssh2bpp.c | 1 +
sshverstring.c | 1 +
4 files changed, 4 insertions(+)
More information about the tartarus-commits
mailing list