postgresql/contrib/pgcrypto
Noah Misch 0a3ee8a5f8 Cherry-pick security-relevant fixes from upstream imath library.
This covers alterations to buffer sizing and zeroing made between imath
1.3 and imath 1.20.  Valgrind Memcheck identified the buffer overruns
and reliance on uninitialized data; their exploit potential is unknown.
Builds specifying --with-openssl are unaffected, because they use the
OpenSSL BIGNUM facility instead of imath.  Back-patch to 9.0 (all
supported versions).

Security: CVE-2015-0243
2015-02-02 10:00:52 -05:00
..
expected Fix buffer overrun after incomplete read in pullf_read_max(). 2015-02-02 10:00:52 -05:00
sql Fix buffer overrun after incomplete read in pullf_read_max(). 2015-02-02 10:00:52 -05:00
.gitignore Some more gitignore cleanups: cover contrib and PL regression test outputs. 2010-09-22 17:22:53 -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 Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
crypt-gensalt.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
crypt-md5.c pgcrypto: fix memset() calls that might be optimized away 2014-04-17 12:37:53 -04:00
fortuna.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
fortuna.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
imath.c Cherry-pick security-relevant fixes from upstream imath library. 2015-02-02 10:00:52 -05:00
imath.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
internal-sha2.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
internal.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
Makefile Remove references to READMEs from /contrib Makefiles. 2007-11-10 23:59:52 +00:00
mbuf.c Fix buffer overrun after incomplete read in pullf_read_max(). 2015-02-02 10:00:52 -05:00
mbuf.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
md5.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
md5.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
openssl.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgcrypto.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgcrypto.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgcrypto.sql.in Add CVS version labels to all install/uninstall scripts. 2007-11-13 04:24:29 +00:00
pgp-armor.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-cfb.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-compress.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-decrypt.c Fix Coverity warning about contrib/pgcrypto's mdc_finish(). 2015-01-30 13:05:09 -05:00
pgp-encrypt.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-info.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-mpi-internal.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-mpi-openssl.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-mpi.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-pgsql.c Docs: fix incorrect spelling of contrib/pgcrypto option. 2014-11-03 11:11:59 -05:00
pgp-pubdec.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-pubenc.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-pubkey.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp-s2k.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
pgp.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
px-crypt.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
px-crypt.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
px-hmac.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
px.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
px.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
random.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
rijndael.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
rijndael.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
rijndael.tbl Add missing pgcrypto file. 2001-08-21 01:32:01 +00:00
sha1.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
sha1.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
sha2.c Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
sha2.h Remove tabs after spaces in C comments 2014-05-06 11:26:25 -04:00
uninstall_pgcrypto.sql Add CVS version labels to all install/uninstall scripts. 2007-11-13 04:24:29 +00:00