From: Pauli Date: Thu, 23 Feb 2017 03:46:01 +0000 (+1000) Subject: Increase the size of the stack buffer to prevent an overflow. X-Git-Tag: OpenSSL_1_1_1-pre1~2281 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8fce04ee3540ba3039bb66df34ea3f076a599ab9;p=oweals%2Fopenssl.git Increase the size of the stack buffer to prevent an overflow. Reviewed-by: Rich Salz Reviewed-by: Andy Polyakov Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/2721) --- diff --git a/crypto/ec/eck_prn.c b/crypto/ec/eck_prn.c index dd3f8579c3..3e826cb138 100644 --- a/crypto/ec/eck_prn.c +++ b/crypto/ec/eck_prn.c @@ -238,7 +238,7 @@ static int print_bin(BIO *fp, const char *name, const unsigned char *buf, size_t len, int off) { size_t i; - char str[128]; + char str[128 + 1 + 4]; if (buf == NULL) return 1;