simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Tue Nov 6 18:34:28 GMT 2018


TL;DR:
  d222ed42 Fix a segfault in ssh2_throttle_all_channels.

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-11-06 18:34:28

commit d222ed4251d5ffed8fa05998c0f47ae2abafaa6e
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=d222ed4251d5ffed8fa05998c0f47ae2abafaa6e;hp=a4b5f66d931a43dda6aa00516f8d2d25cba607c3
Author: Simon Tatham <anakin at pobox.com>
Date:   Tue Nov 6 18:31:35 2018 +0000

    Fix a segfault in ssh2_throttle_all_channels.
    
    ssh2_channel_check_throttle should only be called on channels for
    which c->chan != NULL - that is, only for channels that are not
    delegated to a sharing downstream. But throttle_all_channels was
    calling it for _all_ channels, so if it had the bad luck to be called
    while a sharing downstream was active, ssh2_channel_check_throttle
    would dereference the null c->chan for the first downstream channel it
    found.

 ssh2connection.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)



More information about the tartarus-commits mailing list