pgsql: Prevent Valgrind Memcheck errors around px_acquire_system_random

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: Prevent Valgrind Memcheck errors around px_acquire_system_random
Дата
Msg-id E1YIIVa-0008OZ-LI@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Prevent Valgrind Memcheck errors around px_acquire_system_random
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Stamp 9.0.19.