Increase the size of the stack buffer to prevent an overflow.
[openssl.git] / crypto / ec / eck_prn.c
index df9b37a750d6251edca7a0fe15e431509d475c93..176ec1f17308bd2a849fa0b9c074519090ced67c 100644 (file)
@@ -342,7 +342,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;