id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 9407,Patch to suppress valgrind error notifications + more entropy on Win,Antony Polukhin,Andy Tompkins,"Valgrind reports ""read of unitialized memory"" while running the regression tests of uuid library: {{{ ==11806== Conditional jump or move depends on uninitialised value(s) ==11806== at 0x407AF2: boost::random::mersenne_twister_engine::normalize_state() (mersenne_twister.hpp:341) ==11806== by 0x40715E: void boost::random::mersenne_twister_engine::seed >(boost::uuids::detail::generator_iterator&, boost::uuids::detail::generator_iterator) (mersenne_twister.hpp:173) ==11806== by 0x40611E: void boost::uuids::detail::seed >(boost::random::mersenne_twister_engine&) (seed_rng.hpp:249) ==11806== by 0x404FE8: boost::uuids::basic_random_generator >::basic_random_generator() (random_generator.hpp:50) ==11806== by 0x402B8A: main (test_random_generator.cpp:38) }}} This is done intentionally, however it hardens debugging of code. Attached patch adds ability to gather entropy using CryptGenRandom and replaces read of initialized memory with two other operations that gather entropy in more valgrind-friendly way. After applying that patch valgrind reports no errors: {{{ ==13997== Command: ./test_random_generator ==13997== No errors detected. ==13997== }}}",Patches,closed,Boost 1.59.0,uuid,Boost 1.54.0,Problem,fixed,,