Fix memset usage in pgcrypto

From: Marko Kreen <markokr(at)gmail(dot)com>
To: Postgres Hackers List <pgsql-hackers(at)postgresql(dot)org>
Subject: Fix memset usage in pgcrypto
Date: 2013-12-26 13:42:12
Message-ID: 20131226134212.GB17885@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

--
marko

Attachment Content-Type Size
pgcrypto-memset.diff text/x-diff 17.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joseph Kregloh 2013-12-26 16:31:39 Re: pg_upgrade & tablespaces
Previous Message David Rowley 2013-12-26 12:36:49 Re: [PATCH] Negative Transition Aggregate Functions (WIP)