simon-git: putty (pre-0.83): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat Feb 1 11:16:31 GMT 2025


TL;DR:
  8fb45f46 kex-hybrid: fix a small memory leak on failure.

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: pre-0.83
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2025-02-01 11:16:31

commit 8fb45f46173b38cd339aaba3b58cfe74b74b9f92
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=8fb45f46173b38cd339aaba3b58cfe74b74b9f92;hp=9ab416e0189181dee38103bb1e90df9b3ae5cb4a
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Feb 1 11:10:35 2025 +0000

    kex-hybrid: fix a small memory leak on failure.
    
    Spotted by Coverity: we've just allocated a strbuf to hold the output
    of the classical half of the hybrid key exchange, but if that output
    isn't generated due to some kind of failure, we forgot to free the
    strbuf on exit.

 crypto/kex-hybrid.c | 2 ++
 1 file changed, 2 insertions(+)



More information about the tartarus-commits mailing list