simon-git: putty (master): Ben Harris

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Wed May 17 23:08:43 BST 2017


TL;DR:
  c7b9f84 windows: Fix control-flow error in select_result().

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Ben Harris <bjh21 at bjh21.me.uk>
Date:           2017-05-17 23:08:43

commit c7b9f846d9d4062dea9eeaca7b15c0a8caf0c73d
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=c7b9f846d9d4062dea9eeaca7b15c0a8caf0c73d;hp=0d57b8a4d9c8f487c6a8806384cb2c485161d19c
Author: Ben Harris <bjh21 at bjh21.me.uk>
Date:   Wed May 17 23:02:14 2017 +0100

    windows: Fix control-flow error in select_result().
    
    When making select_result() return void (a2fb1d9), I removed a "return"
    at the end of the FD_CLOSE case, causing a fallthrough into FD_ACCEPT
    with hilarious (segfaulting) consequences.  Re-instate the "return".

 windows/winnet.c | 1 +
 1 file changed, 1 insertion(+)



More information about the tartarus-commits mailing list