[openssl-commits] [openssl] master update

Richard Levitte levitte at openssl.org
Thu Nov 1 14:42:00 UTC 2018


The branch master has been updated
       via  3bed01a09071fb289484dfd265f0a8a991537282 (commit)
      from  54f3e855d48d08e9623a7ced715e263352c95274 (commit)


- Log -----------------------------------------------------------------
commit 3bed01a09071fb289484dfd265f0a8a991537282
Author: Richard Levitte <levitte at openssl.org>
Date:   Thu Nov 1 13:55:32 2018 +0100

    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 at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/7544)

-----------------------------------------------------------------------

Summary of changes:
 Configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Configure b/Configure
index bf0c2d5..f46be6b 100755
--- a/Configure
+++ b/Configure
@@ -2344,7 +2344,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($_);
 


More information about the openssl-commits mailing list