openssl/crypto/bn
Matt Caswell c56353071d Fix off-by-one error in BN_bn2hex
A BIGNUM can have the value of -0. The function BN_bn2hex fails to account
for this and can allocate a buffer one byte too short in the event of -0
being used, leading to a one byte buffer overrun. All usage within the
OpenSSL library is considered safe. Any security risk is considered
negligible.

With thanks to Mateusz Kocielski (LogicalTrust), Marek Kroemeke and
Filip Palian for discovering and reporting this issue.

Reviewed-by: Tim Hudson <tjh@openssl.org>
2015-06-04 09:23:02 +01:00
..
asm bn/asm/x86_64-mont5.pl: fix valgrind error. 2015-05-24 21:30:39 +02:00
bn_add.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_asm.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_blind.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_const.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
bn_ctx.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_depr.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_dh.c Add OSSL_NELEM macro. 2015-05-03 12:53:08 +01:00
bn_div.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_err.c Reject negative shifts for BN_rshift and BN_lshift 2015-05-22 23:15:02 +01:00
bn_exp.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_exp2.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_gcd.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_gf2m.c bn/bn_gf2m.c: appease STACK, unstable code detector. 2015-05-24 21:25:59 +02:00
bn_intern.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_kron.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_lcl.h bn/bn_lcl.h: fix MIPS-specific gcc version check. 2015-05-26 10:06:28 +02:00
bn_lib.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_mod.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_mont.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_mpi.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_mul.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_nist.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_prime.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_prime.h Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
bn_prime.pl Minimize stack utilization in probable_prime. 2007-09-18 20:52:05 +00:00
bn_print.c Fix off-by-one error in BN_bn2hex 2015-06-04 09:23:02 +01:00
bn_rand.c Fix off-by-one in BN_rand 2015-05-22 23:40:38 +01:00
bn_recp.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_shift.c Reject negative shifts for BN_rshift and BN_lshift 2015-05-22 23:15:02 +01:00
bn_sqr.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_sqrt.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_srp.c Add OSSL_NELEM macro. 2015-05-03 12:53:08 +01:00
bn_word.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00
bn_x931p.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
Makefile make update. 2015-06-03 15:39:29 +01:00
rsaz_exp.c Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
rsaz_exp.h Run util/openssl-format-source -v -c . 2015-01-22 09:20:09 +00:00
vms-helper.c Identify and move common internal libcrypto header files 2015-05-14 17:21:40 +02:00