Re: Fix memset usage in pgcrypto - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Fix memset usage in pgcrypto
Date
Msg-id 20140401010341.GA10316@momjian.us
Whole thread Raw
In response to Fix memset usage in pgcrypto  (Marko Kreen <markokr@gmail.com>)
Responses Re: Fix memset usage in pgcrypto
List pgsql-hackers
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.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + Everyone has their own god. +



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [BUG FIX] Compare returned value by socket() against PGINVALID_SOCKET instead of < 0
Next
From: Amit Langote
Date:
Subject: Re: Comment in src/backend/commands/vacuumlazy.c