projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80de174
)
Correctly zero the DISPLAY_COLUMNS structure.
author
Pauli
<paul.dale@oracle.com>
Fri, 29 Mar 2019 08:27:28 +0000
(18:27 +1000)
committer
Pauli
<paul.dale@oracle.com>
Fri, 29 Mar 2019 10:52:00 +0000
(20:52 +1000)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8611)
apps/openssl.c
patch
|
blob
|
history
diff --git
a/apps/openssl.c
b/apps/openssl.c
index 119d3e8ff679622df8726b5fdd4ec7ed3754cc08..6bb27853fe6fc85b2946e06cb9fe6a5b7d400a00 100644
(file)
--- 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);