Re: Fix memset usage in pgcrypto

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Marko Kreen <markokr(at)gmail(dot)com>
Cc: Postgres Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix memset usage in pgcrypto
Date: 2014-04-17 16:38:13
Message-ID: 20140417163813.GH7443@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 31, 2014 at 09:03:41PM -0400, Bruce Momjian wrote:
> On Thu, Dec 26, 2013 at 03:42:12PM +0200, Marko Kreen wrote:
> > http://www.viva64.com/en/b/0227/ reported that on-stack memset()s
> > might be optimized away by compilers. Fix it.
> >
> > * Replace memset() with px_memset()
> > * Add px_memset to copy_crlf()
> > * ADd px_memset to pgp-s2k.c
>
> Where are we on this patch? Seems it needs backpatching too.

Patch backpatched through 8.4. Thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2014-04-17 16:52:53 Re: INSERT...ON DUPLICATE KEY LOCK FOR UPDATE
Previous Message Stephen Frost 2014-04-17 16:21:40 Re: Clock sweep not caching enough B-Tree leaf pages?