Increase the size of the stack buffer to prevent an overflow.
Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2721)
This commit is contained in:
parent
4483e23444
commit
8fce04ee35
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue