On Sat, Apr 1, 2017 at 2:51 PM, Noah Misch <n...@leadboat.com> wrote:
> Does this remove the noise under --with-openssl?
>
> --- a/src/port/pg_strong_random.c
> +++ b/src/port/pg_strong_random.c
> @@ -104,7 +104,10 @@ pg_strong_random(void *buf, size_t len)
>          */
>  #if defined(USE_OPENSSL_RANDOM)
>         if (RAND_bytes(buf, len) == 1)
> +       {
> +               VALGRIND_MAKE_MEM_DEFINED(buf, len);
>                 return true;
> +       }
>         return false;
>
>         /*

Actually, no. I'll dig more into the options of valgrind to see if I
am missing something here..
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to