From 1d2c6b7d4a5cb00d43a8b57e028923f8592f49c7 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 17 Feb 2018 07:33:17 +0100 Subject: [PATCH] Configure: avoid uninit data in configdata.pm Fixes #5394 Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/5399) --- Configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Configure b/Configure index 9835cf0663..0cc554f652 100755 --- a/Configure +++ b/Configure @@ -2382,7 +2382,8 @@ _____ my $longest2 = 0; foreach my $what (@disablables) { $longest = length($what) if $longest < length($what); - $longest2 = length($disabled{$what}) if $longest2 < length($disabled{$what}); + $longest2 = length($disabled{$what}) + if $disabled{$what} && $longest2 < length($disabled{$what}); } print "\nEnabled features:\n\n"; foreach my $what (@disablables) { -- 2.25.1