]> granicus.if.org Git - postgresql/commit
Prevent Valgrind Memcheck errors around px_acquire_system_randomness().
authorNoah Misch <noah@leadboat.com>
Mon, 2 Feb 2015 15:00:45 +0000 (10:00 -0500)
committerNoah Misch <noah@leadboat.com>
Mon, 2 Feb 2015 15:00:45 +0000 (10:00 -0500)
commit59b919822ab060f721e235964d19b55a19c815f0
tree3106d0fd46d4e7c23c0079de2dd43980dbd1cc43
parent8b59672d8d23ea4203cf2701d126a96edca5bdd6
Prevent Valgrind Memcheck errors around px_acquire_system_randomness().

This function uses uninitialized stack and heap buffers as supplementary
entropy sources.  Mark them so Memcheck will not complain.  Back-patch
to 9.4, where Valgrind Memcheck cooperation first appeared.

Marko Tiikkaja
contrib/pgcrypto/random.c