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:
8f744cc
)
Add missing terminating NULL to speed_options table.
author
Kurt Cancemi
<kurt@x64architecture.com>
Thu, 7 May 2015 22:19:20 +0000
(18:19 -0400)
committer
Matt Caswell
<matt@openssl.org>
Mon, 11 May 2015 11:09:52 +0000
(12:09 +0100)
This would cause memory corruption in opt_init() because it relies on the
terminating NULL.
RT#3842
Reviewed-by: Rich Salz <rsalz@openssl.org>
apps/speed.c
patch
|
blob
|
history
diff --git
a/apps/speed.c
b/apps/speed.c
index 9ab1648b2cf0a58947b3aea7f1061c22411f1bc6..4b3da8758890bfdcb111df116c3a214254a99022 100644
(file)
--- a/
apps/speed.c
+++ b/
apps/speed.c
@@
-374,6
+374,7
@@
OPTIONS speed_options[] = {
#ifndef OPENSSL_NO_ENGINE
{"engine", OPT_ENGINE, 's', "Use engine, possibly a hardware device"},
#endif
+ {NULL},
};
#define D_MD2 0