The branch master has been updated
       via  f4a96507fb880d5f5a707c138388cb8b5b1ba8c8 (commit)
      from  ea8d07b155d26abb52574a1c1366b662a27ffbed (commit)


- Log -----------------------------------------------------------------
commit f4a96507fb880d5f5a707c138388cb8b5b1ba8c8
Author: Dr. Matthias St. Pierre <[email protected]>
Date:   Tue May 28 14:29:59 2019 +0200

    crypto/conf: openssl_config_int() returns unitialized value
    
    openssl_config_int() returns the uninitialized variable `ret`
    when compiled with OPENSSL_SYS_UEFI.
    
    Fixes #9026
    
    Reviewed-by: Tim Hudson <[email protected]>
    Reviewed-by: Shane Lontis <[email protected]>
    (Merged from https://github.com/openssl/openssl/pull/9029)

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

Summary of changes:
 crypto/conf/conf_sap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crypto/conf/conf_sap.c b/crypto/conf/conf_sap.c
index 3994a86..921ff77 100644
--- a/crypto/conf/conf_sap.c
+++ b/crypto/conf/conf_sap.c
@@ -42,7 +42,7 @@ void OPENSSL_config(const char *appname)
 
 int openssl_config_int(const OPENSSL_INIT_SETTINGS *settings)
 {
-    int ret;
+    int ret = 0;
     const char *filename;
     const char *appname;
     unsigned long flags;

Reply via email to