diff options
author | Kurt Cancemi <kurt@x64architecture.com> | 2015-05-07 18:19:20 -0400 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-05-11 12:09:52 +0100 |
commit | 7786005d0d30816fd3cd3ee4bad11bf520b1327a (patch) | |
tree | d6fae435348baa7c7e38b60ad2a209461cb53570 /apps/speed.c | |
parent | 8f744cceff5bce8cb00a6ddd739c1bbb85c142ea (diff) | |
download | openssl-7786005d0d30816fd3cd3ee4bad11bf520b1327a.tar.gz |
Add missing terminating NULL to speed_options table.
This would cause memory corruption in opt_init() because it relies on the
terminating NULL.
RT#3842
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/speed.c')
-rw-r--r-- | apps/speed.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c index 9ab1648b2c..4b3da87588 100644 --- 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 |