simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Oct 7 18:36:04 BST 2018


TL;DR:
  9072bab1 Unix: fix segfault if ~/.putty/sessions doesn't exist.
  55860cac log_proxy_stderr: cope with CRLF on proxy stderr lines.
  cea1329b Make new_error_socket() into a printf-style function.

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-10-07 18:36:04

commit 9072bab11b70abd9e33dc8c029d25cd796542bf4
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=9072bab11b70abd9e33dc8c029d25cd796542bf4;hp=34df99907a4ce8ad6dbd3d4c4426e77484156a12
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Oct 7 14:04:26 2018 +0100

    Unix: fix segfault if ~/.putty/sessions doesn't exist.
    
    Looks as if I introduced this in commit 733fcca2c, where the pointer
    returned from enum_settings_start() stopped being the same thing as
    the underlying 'DIR *' - I needed to retain a check for the outer
    containing structure not being NULL but the DIR * being NULL inside
    it.

 unix/uxstore.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

commit 55860cace76f47b11fc9889261bd3d4e5950a787
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=55860cace76f47b11fc9889261bd3d4e5950a787;hp=9072bab11b70abd9e33dc8c029d25cd796542bf4
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Oct 7 14:46:21 2018 +0100

    log_proxy_stderr: cope with CRLF on proxy stderr lines.
    
    The CR was getting as far as GTK, where it caused a formatting oddity
    in the Event Log list box. It should be stripped along with the LF.

 be_misc.c | 2 ++
 1 file changed, 2 insertions(+)

commit cea1329b9ea15f7856125bf170486cda6a85145d
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=cea1329b9ea15f7856125bf170486cda6a85145d;hp=55860cace76f47b11fc9889261bd3d4e5950a787
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Oct 7 14:47:16 2018 +0100

    Make new_error_socket() into a printf-style function.
    
    Almost all the call sites were doing a cumbersome dupprintf-use-free
    cycle to get a formatted message into an ErrorSocket anyway, so it
    seems more sensible to give them an easier way of doing so.
    
    The few call sites that were passing a constant string literal
    _shouldn't_ have been - they'll be all the better for adding a
    strerror suffix to the message they were previously giving!

 Recipe             |  2 +-
 errsock.c          | 16 ++++++++++++++--
 network.h          |  2 +-
 windows/winnpc.c   | 37 +++++++++++++------------------------
 windows/winproxy.c | 18 +++++++++---------
 5 files changed, 38 insertions(+), 37 deletions(-)



More information about the tartarus-commits mailing list