postgresql/contrib/pgcrypto
Bruce Momjian 9fe55259fd 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 whitespace issues found by git diff --check, add gitattributes 2013-11-10 14:48:29 -05:00
sql Fix whitespace issues found by git diff --check, add gitattributes 2013-11-10 14:48:29 -05: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:30 -04:00
crypt-gensalt.c Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03: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 Lots of doc corrections. 2012-04-23 22:43:09 -04:00
imath.h pgindent run for release 9.3 2013-05-29 16:58:43 -04: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 Add gen_random_uuid() to contrib/pgcrypto. 2014-01-17 16:52:06 -05:00
mbuf.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
mbuf.h pgcrypto: Remove inappropriate const qualifier 2012-01-15 14:00:52 +02:00
md5.c Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04: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--1.1.sql Add gen_random_uuid() to contrib/pgcrypto. 2014-01-17 16:52:06 -05:00
pgcrypto--1.1.sql Add gen_random_uuid() to contrib/pgcrypto. 2014-01-17 16:52:06 -05: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:03 -04:00
pgcrypto.c Add gen_random_uuid() to contrib/pgcrypto. 2014-01-17 16:52:06 -05:00
pgcrypto.control Add gen_random_uuid() to contrib/pgcrypto. 2014-01-17 16:52:06 -05:00
pgcrypto.h Add gen_random_uuid() to contrib/pgcrypto. 2014-01-17 16:52:06 -05:00
pgp-armor.c pgcrypto: Make header files stand alone 2014-01-09 06:44:24 -05: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 pgcrypto: Make header files stand alone 2014-01-09 06:44:24 -05:00
pgp-mpi-openssl.c pgcrypto: Make header files stand alone 2014-01-09 06:44:24 -05: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 pgcrypto: Make header files stand alone 2014-01-09 06:44:24 -05: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 pgcrypto: Make header files stand alone 2014-01-09 06:44:24 -05: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 unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04: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