From: Kurt Cancemi Date: Thu, 7 May 2015 22:19:20 +0000 (-0400) Subject: Add missing terminating NULL to speed_options table. X-Git-Tag: OpenSSL_1_1_0-pre1~1171 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=7786005d0d30816fd3cd3ee4bad11bf520b1327a 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 --- 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