[openssl-commits] [openssl] master update

Rich Salz rsalz at openssl.org
Mon May 25 23:13:44 UTC 2015


The branch master has been updated
       via  cf89a80e25b79ae0e6004e4a2509bf656fb59168 (commit)
      from  cc630cdbcc77859a8d4ada54d3c986afe9f9dece (commit)


- Log -----------------------------------------------------------------
commit cf89a80e25b79ae0e6004e4a2509bf656fb59168
Author: Hanno Böck <hanno at hboeck.de>
Date:   Mon May 25 16:18:07 2015 -0400

    RT3861: Mem/bio leak in req command
    
    The "out" variable is used for both key and csr.  Close it after
    writing the first one so it can be re-used when writing the other.
    
    Signed-off-by: Rich Salz <rsalz at openssl.org>
    Reviewed-by: Tim Hudson <tjh at openssl.org>

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

Summary of changes:
 apps/req.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/apps/req.c b/apps/req.c
index 8acdad3..5514ee3 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -612,6 +612,7 @@ int req_main(int argc, char **argv)
             }
             goto end;
         }
+        BIO_free(out);
         BIO_printf(bio_err, "-----\n");
     }
 


More information about the openssl-commits mailing list