[openssl] OpenSSL_1_1_1-stable update

Kurt Roeckx kurt at openssl.org
Sat Sep 21 08:59:29 UTC 2019


The branch OpenSSL_1_1_1-stable has been updated
       via  c8d66837ad4f6b5be5b8b291753900de977f1dd1 (commit)
      from  58f0a4f16b6e7f876f8ba68e4e850304a729cd5c (commit)


- Log -----------------------------------------------------------------
commit c8d66837ad4f6b5be5b8b291753900de977f1dd1
Author: Kurt Roeckx <kurt at roeckx.be>
Date:   Fri Sep 20 20:26:42 2019 +0200

    Use the correct maximum indent
    
    Found by OSS-Fuzz
    
    Reviewed-by: Richard Levitte <levitte at openssl.org>
    Reviewed-by: Paul Dale <paul.dale at oracle.com>
    
    GH: #9959
    (cherry picked from commit a6105ef40d65b35818f2b8ae8ca9e57ca6956d1d)

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

Summary of changes:
 crypto/bio/b_dump.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crypto/bio/b_dump.c b/crypto/bio/b_dump.c
index 0d06414e7d..45f1c523ce 100644
--- a/crypto/bio/b_dump.c
+++ b/crypto/bio/b_dump.c
@@ -36,8 +36,8 @@ int BIO_dump_indent_cb(int (*cb) (const void *data, size_t len, void *u),
 
     if (indent < 0)
         indent = 0;
-    else if (indent > 128)
-        indent = 128;
+    else if (indent > 64)
+        indent = 64;
 
     dump_width = DUMP_WIDTH_LESS_INDENT(indent);
     rows = len / dump_width;


More information about the openssl-commits mailing list