diff options
author | Richard Levitte <levitte@openssl.org> | 2018-11-01 13:55:32 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2018-11-12 12:40:24 +0100 |
commit | 02d3c6aecc646872af1286144ce8af0693a9f4e3 (patch) | |
tree | 1edea153ba0321347c99564d6d3664066828de48 /Configure | |
parent | 7bd5405ac94549003dd1e7114542914075b5aaf5 (diff) |
Configure: ensure empty arrays aren't created inadvertently
Just refering to a hash table element as an array reference will
automatically create that element. Avoid that by defaulting to
a separate empty array reference.
Fixes #7543
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7544)
(cherry picked from commit 3bed01a09071fb289484dfd265f0a8a991537282)
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2257,7 +2257,7 @@ EOF my %dirs = (); my $pd = dirname($product); - foreach (@{$unified_info{sources}->{$product}}, + foreach (@{$unified_info{sources}->{$product} // []}, @{$unified_info{shared_sources}->{$product} // []}) { my $d = dirname($_); |