From 79bc34185fdd63f2b1057d1d902697ac1852d245 Mon Sep 17 00:00:00 2001 From: Pauli Date: Fri, 29 Mar 2019 18:27:28 +1000 Subject: [PATCH] Correctly zero the DISPLAY_COLUMNS structure. Reviewed-by: Richard Levitte (Merged from https://github.com/openssl/openssl/pull/8611) --- apps/openssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/openssl.c b/apps/openssl.c index 119d3e8ff6..6bb27853fe 100644 --- a/apps/openssl.c +++ b/apps/openssl.c @@ -715,8 +715,9 @@ static void list_type(FUNC_TYPE ft, int one) { FUNCTION *fp; int i = 0; - DISPLAY_COLUMNS dc = {0}; + DISPLAY_COLUMNS dc; + memset(&dc, 0, sizeof(dc)); if (!one) calculate_columns(&dc); -- 2.25.1