[openssl-commits] [openssl] master update

Dr. Paul Dale pauli at openssl.org
Wed Feb 13 09:02:30 UTC 2019


The branch master has been updated
       via  e0ae0585bee898184cbbe8144d2fa8ce25e8ca72 (commit)
      from  b754a8a1590b8c5c9662c8a0ba49573991488b20 (commit)


- Log -----------------------------------------------------------------
commit e0ae0585bee898184cbbe8144d2fa8ce25e8ca72
Author: Pauli <paul.dale at oracle.com>
Date:   Wed Feb 13 16:11:16 2019 +1000

    Sparse array limit testing: reduce the range limit for the number of bits
    in a sparse array pointer block.
    
    Reviewed-by: Tim Hudson <tjh at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/8221)

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

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

diff --git a/crypto/sparse_array.c b/crypto/sparse_array.c
index 9255f9d..8c9efed 100644
--- a/crypto/sparse_array.c
+++ b/crypto/sparse_array.c
@@ -37,7 +37,7 @@
 # else
 #  define OPENSSL_SA_BLOCK_BITS           12
 # endif
-#elif OPENSSL_SA_BLOCK_BITS < 2 || OPENSSL_SA_BLOCK_BITS > BN_BITS2
+#elif OPENSSL_SA_BLOCK_BITS < 2 || OPENSSL_SA_BLOCK_BITS > (BN_BITS2 - 1)
 # error OPENSSL_SA_BLOCK_BITS is out of range
 #endif
 


More information about the openssl-commits mailing list