postgresql/contrib/pgcrypto
Bruce Momjian df2e62603e pgcrypto: fix memset() calls that might be optimized away
Specifically, on-stack memset() might be removed, so:

	* Replace memset() with px_memset()
	* Add px_memset to copy_crlf()
	* Add px_memset to pgp-s2k.c

Patch by Marko Kreen

Report by PVS-Studio

Backpatch through 8.4.
2014-04-17 12:37:53 -04:00
..
expected Fix pgp_pub_decrypt() so it works for secret keys with passwords. 2013-05-10 13:07:08 -04:00
sql Fix pgp_pub_decrypt() so it works for secret keys with passwords. 2013-05-10 13:07:08 -04:00
.gitignore Some more gitignore cleanups: cover contrib and PL regression test outputs. 2010-09-22 17:23:00 -04:00
blf.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
blf.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
crypt-blowfish.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
crypt-des.c Fix incorrect password transformation in contrib/pgcrypto's DES crypt(). 2012-05-30 10:53:44 -04:00
crypt-gensalt.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
crypt-md5.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
fortuna.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
fortuna.h Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
imath.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
imath.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
internal-sha2.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
internal.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
Makefile Remove references to READMEs from /contrib Makefiles. 2007-11-10 23:59:52 +00:00
mbuf.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
mbuf.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
md5.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
md5.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
openssl.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgcrypto.c Fix error detection in contrib/pgcrypto's encrypt_iv() and decrypt_iv(). 2012-01-27 23:09:56 -05:00
pgcrypto.h Remove pgcrypto functions that were deprecated and slated for removal. 2006-09-05 21:26:48 +00:00
pgcrypto.sql.in Add CVS version labels to all install/uninstall scripts. 2007-11-13 04:24:29 +00:00
pgp-armor.c Standard pgindent run for 8.1. 2005-10-15 02:49:52 +00:00
pgp-cfb.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp-compress.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp-decrypt.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp-encrypt.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp-info.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pgp-mpi-internal.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pgp-mpi-openssl.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pgp-mpi.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp-pgsql.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp-pubdec.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
pgp-pubenc.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp-pubkey.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp-s2k.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgp.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
px-crypt.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
px-crypt.h "Annual" pgcrypto update from Marko Kreen: 2006-07-13 04:15:25 +00:00
px-hmac.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
px.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
px.h pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
random.c Add missing 3rd argument to open(). 2006-06-08 03:29:30 +00:00
rijndael.c 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
rijndael.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
rijndael.tbl Add missing pgcrypto file. 2001-08-21 01:32:01 +00:00
sha1.c Now that core functionality is depending on autoconf's AC_C_BIGENDIAN to be 2007-04-06 05:36:51 +00:00
sha1.h make sure the $Id tags are converted to $PostgreSQL as well ... 2003-11-29 22:41:33 +00:00
sha2.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
sha2.h 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
uninstall_pgcrypto.sql Add CVS version labels to all install/uninstall scripts. 2007-11-13 04:24:29 +00:00