Home GnuPG
Diffusion GnuPG b1abc01d4ad1

Improve handling of random_seed read errors.
b1abc01d4ad1Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Improve handling of random_seed read errors.

* cipher/random.c (read_seed_file): Distinguish between errors and
short reads.

This should help to avoid program aborts due to races. Nevertheless a
better and cross-platform locking would be a more solid solution.

Details

Provenance
wernerAuthored on Nov 7 2012, 6:06 PM
Parents
rGa74f05c32deb: Remove trailing white space from one file
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGb1abc01d4ad1: Improve handling of random_seed read errors. (authored by Werner Koch <wk@gnupg.org>).Nov 7 2012, 6:06 PM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:04 PM
werner mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:27 PM