diff options
author | Pauli <paul.dale@oracle.com> | 2019-03-29 18:27:28 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-03-29 20:52:00 +1000 |
commit | 79bc34185fdd63f2b1057d1d902697ac1852d245 (patch) | |
tree | ddf1cf365b5c431cce620606c024506c74dc0016 /apps/openssl.c | |
parent | 80de174281f7bf5ae9799df26153efe476f41b92 (diff) |
Correctly zero the DISPLAY_COLUMNS structure.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8611)
Diffstat (limited to 'apps/openssl.c')
-rw-r--r-- | apps/openssl.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |