Обсуждение: pgsql: Prevent Valgrind Memcheck errors around px_acquire_system_random

Поиск
Список
Период
Сортировка

pgsql: Prevent Valgrind Memcheck errors around px_acquire_system_random

От
Noah Misch
Дата:
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
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ca84dfa90e9929737bda7393f88b488cb7161147

Modified Files
--------------
contrib/pgcrypto/random.c |    5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)