From 7786005d0d30816fd3cd3ee4bad11bf520b1327a Mon Sep 17 00:00:00 2001 From: Kurt Cancemi Date: Thu, 7 May 2015 18:19:20 -0400 Subject: [PATCH] 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 --- apps/speed.c | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1