simon-git: putty (main): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Thu Oct 23 12:28:49 BST 2025


TL;DR:
  f9cbe226 Fix pointer-handling bug in write_random_seed().

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:           2025-10-23 12:28:49

commit f9cbe226ebc0bb0269328a7b2a471e821204391f
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=f9cbe226ebc0bb0269328a7b2a471e821204391f;hp=c4fe7b0a7a88933c4856dafe4b811deaa2dbef89
Author: Simon Tatham <anakin at pobox.com>
Date:   Thu Oct 23 12:23:37 2025 +0100

    Fix pointer-handling bug in write_random_seed().
    
    Thanks to Joshua Rogers for the report: if writing the random seed
    took more than one call to write(2), then we'd add the wrong value to
    the data pointer between calls. Happily this is very unlikely to have
    actually happened, because random seed files are tiny and surely
    write() will in practice manage to write it all first time. But still
    needs fixing.

 unix/storage.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



More information about the tartarus-commits mailing list