[openssl] master update
Richard Levitte
levitte at openssl.org
Mon Apr 27 13:52:48 UTC 2020
The branch master has been updated
via d0bcad73253b7ea0a6f8a4ebd2aa567257cd2101 (commit)
from ee6c7cde752992f0fb63820a2c5e63496fd686b1 (commit)
- Log -----------------------------------------------------------------
commit d0bcad73253b7ea0a6f8a4ebd2aa567257cd2101
Author: Richard Levitte <levitte at openssl.org>
Date: Mon Apr 27 08:43:18 2020 +0200
crypto/x509/v3_alt.c: make 'othername' a bit bigger
We want to fill 'othername' with the contents of 'oline' (256 bytes)
plus some additional text. We need to ensure that 'othername' is
large enough to contain this.
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11656)
-----------------------------------------------------------------------
Summary of changes:
crypto/x509/v3_alt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crypto/x509/v3_alt.c b/crypto/x509/v3_alt.c
index f15bbdbd21..52e936a3af 100644
--- a/crypto/x509/v3_alt.c
+++ b/crypto/x509/v3_alt.c
@@ -82,7 +82,7 @@ STACK_OF(CONF_VALUE) *i2v_GENERAL_NAME(X509V3_EXT_METHOD *method,
STACK_OF(CONF_VALUE) *ret)
{
unsigned char *p;
- char othername[256];
+ char othername[300];
char oline[256], htmp[5];
int i;
More information about the openssl-commits
mailing list