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-01 01:03:41
Message-ID: 20140401010341.GA10316@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-04-01 02:17:21 Re: BUG #9518: temporary login failure - "missing pg_hba entry"
Previous Message Bruce Momjian 2014-04-01 01:01:49 Re: [BUG FIX] Compare returned value by socket() against PGINVALID_SOCKET instead of < 0