diff options
author | lloyd <[email protected]> | 2009-01-03 03:57:33 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-01-03 03:57:33 +0000 |
commit | f9027c938fc4e2b911d367094533f9acba375586 (patch) | |
tree | 0cacbf79a5caef550a4c232c5cdb61dc277a005b /doc | |
parent | 338895f290ab5d197da596836ecc03625f9091f3 (diff) |
In the Unix entropy source fast poll, clear the stat buf before
we call stat. Apparently on 32-bit Linux (or at least on Ubuntu
8.04/x86), struct stat has some padding bytes, which are not
written to by the syscall, but valgrind doesn't realize that this
is OK, and warns about uninitialized memory access when we read
the contents of the struct. Since this data is then fed into the
PRNG, the PRNG state and output becomes tainted, which makes
valgrind's output rather useless.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/log.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/log.txt b/doc/log.txt index 4882cde05..32f9cae1a 100644 --- a/doc/log.txt +++ b/doc/log.txt @@ -1,5 +1,6 @@ * 1.8.1-pre, 2009-??-?? + - Avoid a valgrind warning in es_unix.cpp on 32-bit Linux - Fix memory leak in PKCS8 load_key and encrypt_key - Relicense api.tex from CC-By-SA 2.5 to BSD |