Why does Valgrind complain about the use of uninitialized data?
When OpenSSL’s PRNG routines are called to generate random numbers the supplied buffer contents are mixed into the entropy pool: so it technically does not matter whether the buffer is initialized at this point or not. Valgrind (and other test tools) will complain about this. When using Valgrind, make sure the OpenSSL library has been compiled with the PURIFY macro defined (-DPURIFY) to get rid of these warnings.
Related Questions
- Sometimes people complain that there is a lot of contamination inside the plant. Do we have data on the health status of radiation workers in the plant to convince the public?
- Why does Valgrind complain about the use of uninitialized data?
- Why does Windows NT/2000/XP complain when I try to import data?