Increase the size of the stack buffer to prevent an overflow.
[openssl.git] / crypto / ec / eck_prn.c
index dd3f8579c34d054201edda12643e2ce8581be050..3e826cb138f8e6cd320d05642b056105d5fd7892 100644 (file)
@@ -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;