pgsql: Prevent Valgrind Memcheck errors around px_acquire_system_random
pgsql: Prevent Valgrind Memcheck errors around px_acquire_system_random
От:
Noah Misch <noah@leadboat.com>
Дата:
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 Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/59b919822ab060f721e235964d19b55a19c815f0 Modified Files -------------- contrib/pgcrypto/random.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)