From: Richard Levitte Date: Sat, 17 Feb 2018 06:33:17 +0000 (+0100) Subject: Configure: avoid uninit data in configdata.pm X-Git-Tag: OpenSSL_1_1_1-pre2~135 X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff_plain;h=1d2c6b7d4a5cb00d43a8b57e028923f8592f49c7;hp=856f231bd230e7f8bd3a2183a32d39093ab4ddc3 Configure: avoid uninit data in configdata.pm Fixes #5394 Reviewed-by: Tim Hudson (Merged from https://github.com/openssl/openssl/pull/5399) --- 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) {