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:
15b5d65
)
evp/evp_test.c: avoid crashes when referencing uninitialized pointers.
author
Andy Polyakov
<appro@openssl.org>
Sun, 22 Feb 2015 18:13:35 +0000
(19:13 +0100)
committer
Andy Polyakov
<appro@openssl.org>
Sun, 22 Feb 2015 18:13:35 +0000
(19:13 +0100)
For some reason failure surfaced on ARM platforms.
Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/evp/evp_test.c
patch
|
blob
|
history
diff --git
a/crypto/evp/evp_test.c
b/crypto/evp/evp_test.c
index 7706ee135ea4bff90fc7ff5a7df927de8b4e1b44..fb8ac4fd9b9232dd1b1a7effcff8283d816f213e 100644
(file)
--- a/
crypto/evp/evp_test.c
+++ b/
crypto/evp/evp_test.c
@@
-454,6
+454,8
@@
int main(int argc, char **argv)
ERR_load_crypto_strings();
OpenSSL_add_all_algorithms();
+
+ memset(&t,0,sizeof(t));
t.meth = NULL;
t.public = NULL;
t.private = NULL;