The branch master has been updated
       via  8fce04ee3540ba3039bb66df34ea3f076a599ab9 (commit)
      from  4483e23444fa18034344874ffbe67919207e9e47 (commit)


- Log -----------------------------------------------------------------
commit 8fce04ee3540ba3039bb66df34ea3f076a599ab9
Author: Pauli <[email protected]>
Date:   Thu Feb 23 13:46:01 2017 +1000

    Increase the size of the stack buffer to prevent an overflow.
    
    Reviewed-by: Rich Salz <[email protected]>
    Reviewed-by: Andy Polyakov <[email protected]>
    Reviewed-by: Richard Levitte <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/2721)

-----------------------------------------------------------------------

Summary of changes:
 crypto/ec/eck_prn.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/ec/eck_prn.c b/crypto/ec/eck_prn.c
index dd3f857..3e826cb 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;
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to