postgres/contrib/pgcrypto
Bruce Momjian fc02b87e28 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:06:57 -04:00
sql Fix pgp_pub_decrypt() so it works for secret keys with passwords. 2013-05-10 13:06:57 -04:00
.gitignore Support "make check" in contrib 2011-04-25 22:27:11 +03:00
blf.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
blf.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02: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:36 -04:00
crypt-gensalt.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02: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 Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
imath.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
imath.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02: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 Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00
mbuf.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
mbuf.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
md5.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
md5.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
openssl.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
pgcrypto--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:36 -04:00
pgcrypto--unpackaged--1.0.sql Throw a useful error message if an extension script file is fed to psql. 2011-10-12 15:45:36 -04:00
pgcrypto.c Fix error detection in contrib/pgcrypto's encrypt_iv() and decrypt_iv(). 2012-01-27 23:09:33 -05:00
pgcrypto.control Convert contrib modules to use the extension facility. 2011-02-13 22:54:49 -05:00
pgcrypto.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pgp-armor.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02: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 Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pgp-mpi-internal.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
pgp-mpi-openssl.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02: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 Remove cvs keywords from all files. 2010-09-20 22:08:53 +02: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 Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
px-crypt.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
px-crypt.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02: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 Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
rijndael.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
rijndael.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
rijndael.tbl Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
sha1.c Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
sha1.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
sha2.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
sha2.h Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00