From: Kurt Roeckx Date: Fri, 20 Sep 2019 18:26:42 +0000 (+0200) Subject: Use the correct maximum indent X-Git-Tag: openssl-3.0.0-alpha1~1304 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a6105ef40d65b35818f2b8ae8ca9e57ca6956d1d;p=oweals%2Fopenssl.git Use the correct maximum indent Found by OSS-Fuzz Reviewed-by: Richard Levitte Reviewed-by: Paul Dale GH: #9959 --- diff --git a/crypto/bio/b_dump.c b/crypto/bio/b_dump.c index e4ad3615f4..018c4acb27 100644 --- a/crypto/bio/b_dump.c +++ b/crypto/bio/b_dump.c @@ -37,8 +37,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;