simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Nov 24 23:25:32 GMT 2024


TL;DR:
  4dec8fda pscp -ls: fix a segfault just before exiting.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: main
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2024-11-24 23:25:32

commit 4dec8fda634d31a4ee09488ee30909fc9fe11b54
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=4dec8fda634d31a4ee09488ee30909fc9fe11b54;hp=0b4f758e8a5e87eafa04fd05313e153372481aee
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Nov 24 23:15:24 2024 +0000

    pscp -ls: fix a segfault just before exiting.
    
    I had allocated a string, advanced a pointer along it, and then freed
    that pointer instead of the pointer to the start of the string.
    
    I'd already applied the correct fix in tolocal() in commit
    841bf321d419d85, but it needed applying in get_dir_list() too.

 pscp.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)



More information about the tartarus-commits mailing list